-
Notifications
You must be signed in to change notification settings - Fork 49
Generating Installers
StasJ edited this page Dec 7, 2018
·
7 revisions
In the top level CMakeLists.txt change the following:
-
set (CMAKE_BUILD_TYPE Debug)
->set (CMAKE_BUILD_TYPE Release)
-
option (DIST_INSTALLER “...” OFF)
->option (DIST_INSTALLER “...” ON)
Configure with CMake in an empty build directory.
Sometimes after running make, CPack will not load the configuration for which type of installer to build. You can either do this manually with cpack -G <generator> .
or by rerunning cmake .. && cpack .
The <generator>
for each OS is:
- MacOS: DragNDrop
- Linux: STGZ
Make sure to install the 10.9 OS X SDK from the apple dev repositories.
make && make installer
make && make linuxpreinstall && make installer
Make sure build type is set to Release
Build the target PACKAGE
in visual studio