[Kst] branches/work/kst/portto4/kst
Peter Kümmel
syntheticpp at gmx.net
Sun Oct 7 20:02:05 UTC 2012
SVN commit 1319588 by kuemmel:
add project name to top level cmake file
write build type forced to cache
M +2 -0 CMakeLists.txt
M +3 -3 cmake/CMakeLists.txt
--- branches/work/kst/portto4/kst/CMakeLists.txt #1319587:1319588
@@ -1,3 +1,5 @@
cmake_minimum_required(VERSION 2.8)
+project(Kst)
+
add_subdirectory(cmake)
--- branches/work/kst/portto4/kst/cmake/CMakeLists.txt #1319587:1319588
@@ -56,9 +56,9 @@
if(kst_release)
- set(CMAKE_BUILD_TYPE Release)
+ set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type" FORCE)
else()
- set(CMAKE_BUILD_TYPE Debug)
+ set(CMAKE_BUILD_TYPE Debug CACHE STRING "Build type" FORCE)
endif()
@@ -306,7 +306,7 @@
if(kst_cross)
set(CPACK_GENERATOR ZIP)
else()
- set(CPACK_GENERATOR NSIS)
+ set(CPACK_GENERATOR ZIP NSIS)
endif()
set(CPACK_BINARY_ZIP 1)
endif()
More information about the Kst
mailing list