[Kst] branches/work/kst/portto4/kst
Peter Kümmel
syntheticpp at gmx.net
Sun Oct 7 15:20:22 UTC 2012
SVN commit 1319573 by kuemmel:
add top level master cmake file
A CMakeLists.txt
M +2 -2 cmake/CMakeLists.txt
M +1 -0 cmake/modules/KstMacros.cmake
--- branches/work/kst/portto4/kst/cmake/CMakeLists.txt #1319572:1319573
@@ -8,10 +8,10 @@
endif()
-set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/modules")
+set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/modules")
include(KstMacros)
-get_filename_component(kst_dir ${CMAKE_SOURCE_DIR}/.. ABSOLUTE)
+get_filename_component(kst_dir ${CMAKE_CURRENT_SOURCE_DIR}/.. ABSOLUTE)
get_filename_component(kst_build_dir ${CMAKE_BINARY_DIR}/build ABSOLUTE)
set(kst_binary_name kst2)
--- branches/work/kst/portto4/kst/cmake/modules/KstMacros.cmake #1319572:1319573
@@ -146,6 +146,7 @@
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${kst_build_dir}/${kst_install_plugins})
endif()
include_directories(${CMAKE_BINARY_DIR}/${dir})
+ include_directories(${CMAKE_BINARY_DIR}/cmake/${dir})
kst_include_directories(core math widgets)
set(kst_plugin_dir ${dir})
set(kst_plugin_prefix ${ARGN})
More information about the Kst
mailing list