summaryrefslogtreecommitdiff
path: root/2.3-1/macros/findDeps/getAllSources.sci
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/macros/findDeps/getAllSources.sci')
-rw-r--r--2.3-1/macros/findDeps/getAllSources.sci14
1 files changed, 14 insertions, 0 deletions
diff --git a/2.3-1/macros/findDeps/getAllSources.sci b/2.3-1/macros/findDeps/getAllSources.sci
index 209cec08..f0f4e741 100644
--- a/2.3-1/macros/findDeps/getAllSources.sci
+++ b/2.3-1/macros/findDeps/getAllSources.sci
@@ -1448,10 +1448,24 @@ function allSources = getAllSources(SharedInfo)
"src/c/imageProcessing/cvimgproc/imcvCanny.cpp"
"src/c/imageProcessing/cvimgproc/imcvCornerHarris.cpp"];
+
if Target == "StandAlone"
allSources = Standalone_files;
elseif Target == "Arduino"
allSources = cat(1,Standalone_files, Arduino_files);
+
+ if Target == "Arduino" & BuildTool == "nmake"
+ Required_addrs = get_rquird_fnctns(Standalone_files,Arduino_files,SharedInfo);
+ end
+
+ if Target == "StandAlone"
+ allSources = Standalone_files;
+ elseif Target == "Arduino"
+ if BuildTool == "nmake"
+ allSources = Required_addrs;
+ else
+ allSources = cat(1,Standalone_files, Arduino_files);
+ end
elseif Target == "AVR"
allSources = cat(1,Standalone_files, AVR_files);
elseif Target == "RPi"