[Kst] branches/work/kst/portto4/kst/cmake
Peter Kümmel
syntheticpp at gmx.net
Mon Nov 14 21:48:41 UTC 2011
SVN commit 1264208 by kuemmel:
add some CMake support for python
M +6 -1 CMakeLists.txt
A pyKst (directory)
A pyKst/CMakeLists.txt
A pyKst/pykstpp_h.py.cmake
--- branches/work/kst/portto4/kst/cmake/CMakeLists.txt #1264207:1264208
@@ -28,6 +28,7 @@
kst_option(3rdparty_download "Download precompiled 3rd party libraries" OFF win)
kst_option(console "Open console on Windows" OFF win)
kst_option(edit_cont "Enable \"Edit and Continue\" for Visual Studio" OFF win)
+kst_option(python "Build Python support" OFF gcc)
message(STATUS)
@@ -211,8 +212,12 @@
add_subdirectory(misc)
endif()
+if(kst_python)
+ add_subdirectory(pyKst)
+ # Only build/install one time
+ set(kst_python OFF CACHE BOOL "Install Kst's python support" FORCE)
+endif()
-
# CPack packaging
#
# http://cmake.org/cmake/help/cmake-2-8-docs.html#module:CPack
More information about the Kst
mailing list