While creating new installation packages from trunk for Windows, I have
experimented with the
different build types with CMake.
Question: would the following create a DEBUG or a RELEASE version by default?
cmake -G "NMake Makefiles" F:\work\svn\oorexx\main\trunk
nmake
nmake clean
Question: what is the difference between DEBUG and RELWITHDEBUGINFO?
DEBUG: creates the .PDB-files on Windows (however, for debugging they need
to be present in the directory from which NSIS took them?)
cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=DEBUG
F:\work\svn\oorexx\main\trunk
RELWITHDEBUGINFO: does not create the .PDB-files on Windows, yet the
nsis-exe-file's size is a little larger (ca. 130KB) than the RELEASE version
and appr. 30 MB (!) smaller than the DEBUG version
cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=RELWITHDEBUGINFO
F:\work\svn\oorexx\main\trunk
For creating the installation packages I used the following two definitions:
RELEASE:
cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=RELEASE
-DDOC_SOURCE_DIR=G:\oorexx.tmp\oorexxDocs -DOS_DIST=windows
F:\work\svn\oorexx\main\trunk
DEBUG and RELWITHDEBUGINFO:
cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=RELWITHDEBUGINFO
-DDOC_SOURCE_DIR=G:\oorexx.tmp\oorexxDocs -DOS_DIST=windows
F:\work\svn\oorexx\main\trunk
nmake
nmake nsis_template_installer
Here the three installation packages using the three different
-DCMAKE_BUILD_TYPE on Windows (they
are in my Dropbox, 32-bit versions to follow:
<https://www.dropbox.com/sh/olh1mqfwb4brp7r/AABI1X-Le9zDCJ0gyfvMdKB8a?dl=0>):
04.12.2018 15:12 50.988.523 ooRexx.5.0.0.11562-x86_64-debug.exe
04.12.2018 14:32 20.485.840 ooRexx.5.0.0.11562-x86_64-release.exe
04.12.2018 15:02 20.611.448
ooRexx.5.0.0.11562-x86_64-relWithDebugInfo.exe
Any answers/insights highly appreciated!
---rony
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel