File: MacroAdditionalCleanFiles.cmake

package info (click to toggle)
kdb 3.2.0-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,276 kB
  • sloc: cpp: 38,360; yacc: 940; python: 779; sh: 711; ansic: 440; lex: 367; xml: 182; sql: 51; makefile: 10
file content (21 lines) | stat: -rw-r--r-- 669 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# - MACRO_ADDITIONAL_CLEAN_FILES(files...)
# MACRO_OPTIONAL_FIND_PACKAGE( <name> [QUIT] )

# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org>
#
# 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 ()
      set(_tmp_DIR_PROPS ${ARGN})
   endif ()

   set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${_tmp_DIR_PROPS}")
endmacro (MACRO_ADDITIONAL_CLEAN_FILES)