Skip to content

Commit 9bdee48

Browse files
committed
buildfile debug
1 parent 595adce commit 9bdee48

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

buildfile.m

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@
4040
end
4141
end
4242

43-
plan("mex").Description = "MEX build";
44-
4543
end
4644

4745

@@ -81,7 +79,10 @@ function publishTask(context)
8179
end
8280

8381

84-
function srcs = get_mex_sources()
82+
function srcs = get_mex_sources(build_all)
83+
arguments
84+
build_all (1,1) logical = false
85+
end
8586

8687
pure = "src/pure.cpp";
8788
normal = ["src/normalize_fs.cpp", pure];
@@ -111,7 +112,7 @@ function publishTask(context)
111112
["src/drop_slash.cpp", normal], ...
112113
};
113114

114-
if isMATLABReleaseOlderThan("R2024b")
115+
if isMATLABReleaseOlderThan("R2024b") || build_all
115116
srcs{end+1} = ["src/is_symlink.cpp", win, sym];
116117
srcs{end+1} = ["src/create_symlink.cpp", win, sym];
117118
srcs{end+1} = ["src/read_symlink.cpp", win, sym];

0 commit comments

Comments
 (0)