lazbuild feature request
Original Reporter info from Mantis: crlab @neurolabusc1
-
Reporter name: Chris Rorden
Original Reporter info from Mantis: crlab @neurolabusc1
- Reporter name: Chris Rorden
Description:
Hello,
I would like to specify compiler commands with Lazbuild. For example, to compile OSX programs on 10.6 to run on older versions of of OSX I can do this in the IDE:
Add to Project / Compiler options / Other / Custom options:
-k-macosx_version_min -k10.4
-XR/Developer/SDKs/MacOSX10.4u.sdk/
However, my code is no longer portable, as this will not compile on Linux, Windows. On solution would be to modify Lazbuild to accept compiler options, e.g.
lazbuild ./dcm2nii/dcm2nii.lpr="-va -k-macosx_version_min -k10.4 -XR/Developer/SDKs/MacOSX10.4u.sdk/"
However, at the moment this does not compile any visual projects (though I saw this mentioned regarding rebuilding the IDE).
Another option: is there a way to do {$IFDEF Darwin} in the Project / Compiler options / Other / Custom options
thanks
Mantis conversion info:
- Mantis ID: 15353
- Version: 0.9.28.3 (SVN)
- Fixed in version: 0.9.31 (SVN)
- Monitored by: » @benibela (Benito van der Zander)
- Target version: 0.99.0