[Kst] branches/work/kst/portto4/kst/cmake/modules

Peter Kümmel syntheticpp at gmx.net
Sat Feb 19 16:10:14 CET 2011


SVN commit 1221613 by kuemmel:

no symbolic links for kst2

 M  +2 -8      KstMacros.cmake  


--- branches/work/kst/portto4/kst/cmake/modules/KstMacros.cmake #1221612:1221613
@@ -74,19 +74,13 @@
 	include_directories(${kst_${kst_name}_folder} ${CMAKE_CURRENT_BINARY_DIR})
 	add_executable(${kst_name} ${ARGN} ${kst_${kst_name}_sources} ${kst_${kst_name}_headers} ${kst_${kst_name}_info_files})
 	target_link_libraries(${kst_name} ${kst_qtmain_library})
-	kst_set_target_properties()
+	set_property(TARGET ${kst_name} PROPERTY DEBUG_POSTFIX ${kst_debug_postfix})
 	kst_revision_add_dependency()
 	kst_flat_source_group(${kst_${kst_name}_headers} ${kst_${kst_name}_sources_not_generated})
+	install(TARGETS ${kst_name} RUNTIME DESTINATION bin BUNDLE DESTINATION .)
 endmacro()
 
 
-macro(kst_install_executable)
-	install(TARGETS ${kst_name} 
-		RUNTIME DESTINATION bin
-		BUNDLE DESTINATION .)
-endmacro()
-
-
 macro(kst_add_library type)
 	set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${kst_build_dir}/bin)
 	set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${kst_build_dir}/${kst_install_libdir})


More information about the Kst mailing list