From 8da037b9c177dc8055725beac87841f10d4ae80f Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Wed, 8 Feb 2006 20:34:09 +0000 Subject: -remove macro_append_directory_properties() and add macro_additional_clean_files() -remove macro_append_source_files_properties() and add macro_add_file_dependencies() -build kICE as a static library and link to it, instead of including the sources multiple times -remove the -kdemain=main from dcop/, hope this didn't break things on windows some patches from Brad King: -rename the target dcop (the executable) to dcop_executable, otherwise MS Visual Studio complains about multiple targets with the same name , the name of the created executable stays "dcop" -add the dependency of all dcop stubs and skels to dcopidl2cpp, to make sure it is compiled before this rule is executed Alex svn path=/trunk/KDE/kdelibs/; revision=507257 --- modules/MacroAdditionalCleanFiles.cmake | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 modules/MacroAdditionalCleanFiles.cmake (limited to 'modules/MacroAdditionalCleanFiles.cmake') diff --git a/modules/MacroAdditionalCleanFiles.cmake b/modules/MacroAdditionalCleanFiles.cmake new file mode 100644 index 00000000..a3d930dc --- /dev/null +++ b/modules/MacroAdditionalCleanFiles.cmake @@ -0,0 +1,15 @@ +# - MACRO_ADDITIONAL_CLEAN_FILES(files...) +# MACRO_OPTIONAL_FIND_PACKAGE( [QUIT] ) + +MACRO(MACRO_ADDITIONAL_CLEAN_FILES) + GET_DIRECTORY_PROPERTY(_tmp_DIR_PROPS ADDITIONAL_MAKE_CLEAN_FILES ) + + IF (_tmp_DIR_PROPS) + SET(_tmp_DIR_PROPS ${_tmp_DIR_PROPS} ${ARGN}) + ELSE (_tmp_DIR_PROPS) + SET(_tmp_DIR_PROPS ${ARGN}) + ENDIF (_tmp_DIR_PROPS) + + SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${_tmp_DIR_PROPS}") +ENDMACRO(MACRO_ADDITIONAL_CLEAN_FILES) + -- cgit v1.2.1