We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b90fb87 commit bea1d8fCopy full SHA for bea1d8f
buildfile.m
@@ -3,7 +3,7 @@
3
4
plan.DefaultTasks = "test";
5
6
-if ~isMATLABReleaseOlderThan("R2024a")
+if ~isMATLABReleaseOlderThan("R2024b")
7
root = plan.RootFolder;
8
bin = fullfile(root, "bin");
9
if ~isfolder(bin), mkdir(bin), end
@@ -13,8 +13,10 @@
13
14
if ispc
15
compiler_opt = "COMPFLAGS=/EHsc /std:c++17";
16
- else
+ elseif ismac
17
compiler_opt = "CXXFLAGS=-std=c++17";
18
+ elseif isunix
19
+ compiler_opt = "CXXFLAGS=-fPIC -std=c++17";
20
end
21
22
plan("mex:is_char_device") = matlab.buildtool.tasks.MexTask("is_char_device.cpp", bin, ...
0 commit comments