From d2b2c90a06bf1f4a21df196430d1f95856900410 Mon Sep 17 00:00:00 2001 From: Allen Winter Date: Thu, 30 Jun 2011 17:36:45 -0400 Subject: Move the modules, modules-test and systeminfo subdirs into 'attic' --- attic/modules/MacroAdditionalCleanFiles.cmake | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 attic/modules/MacroAdditionalCleanFiles.cmake (limited to 'attic/modules/MacroAdditionalCleanFiles.cmake') diff --git a/attic/modules/MacroAdditionalCleanFiles.cmake b/attic/modules/MacroAdditionalCleanFiles.cmake new file mode 100644 index 00000000..593182fe --- /dev/null +++ b/attic/modules/MacroAdditionalCleanFiles.cmake @@ -0,0 +1,21 @@ +# - MACRO_ADDITIONAL_CLEAN_FILES(files...) +# MACRO_OPTIONAL_FIND_PACKAGE( [QUIT] ) + +# Copyright (c) 2006, Alexander Neundorf, +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + + +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