std.Build.Step.Compile: remove addSystemIncludeDir, addIncludeDir, addLibPath, and addFrameworkDir (deprecated in 0.10)
Followup to d3d24874c9.
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
This commit is contained in:
@@ -1032,11 +1032,6 @@ pub fn addObject(self: *Compile, obj: *Compile) void {
|
||||
self.linkLibraryOrObject(obj);
|
||||
}
|
||||
|
||||
pub const addSystemIncludeDir = @compileError("deprecated; use addSystemIncludePath");
|
||||
pub const addIncludeDir = @compileError("deprecated; use addIncludePath");
|
||||
pub const addLibPath = @compileError("deprecated, use addLibraryPath");
|
||||
pub const addFrameworkDir = @compileError("deprecated, use addFrameworkPath");
|
||||
|
||||
pub fn addSystemIncludePath(self: *Compile, path: []const u8) void {
|
||||
const b = self.step.owner;
|
||||
self.include_dirs.append(IncludeDir{ .raw_path_system = b.dupe(path) }) catch @panic("OOM");
|
||||
|
||||
Reference in New Issue
Block a user