diff options
author | Brijeshcr | 2017-07-07 18:19:45 +0530 |
---|---|---|
committer | GitHub | 2017-07-07 18:19:45 +0530 |
commit | 5258fe20f21514eca1f7dc4ee384fe63c35c68a1 (patch) | |
tree | c0424024c16aa122a5a38686dfed75a4c4866e95 /2.3-1/macros/findDeps/getAllSources.sci | |
parent | 8d1da9568248c9a0572da08a7039e75e84d782b0 (diff) | |
parent | a505550d38b2b886c61863a85be67faf02ad604b (diff) | |
download | Scilab2C-5258fe20f21514eca1f7dc4ee384fe63c35c68a1.tar.gz Scilab2C-5258fe20f21514eca1f7dc4ee384fe63c35c68a1.tar.bz2 Scilab2C-5258fe20f21514eca1f7dc4ee384fe63c35c68a1.zip |
Merge pull request #12 from yash1112/master
SCi2cDeps updated, Windows compatibility resolved
Diffstat (limited to '2.3-1/macros/findDeps/getAllSources.sci')
-rw-r--r-- | 2.3-1/macros/findDeps/getAllSources.sci | 14 |
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" |