Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/cmake/AddSourceFiles.cmake @ 2129

Last change on this file since 2129 was 2129, checked in by rgrieder, 15 years ago

Applied changes from HEAD again. I have found a way to solve the problem..

File size: 444 bytes
Line 
1MACRO(ADD_SOURCE_FILES _directory _source_list _target_list)
2
3  # Set the variable (_source_list) first
4  INCLUDE(${_directory}/CMakeLists.txt)
5#MESSAGE(STATUS ${_directory})
6#MESSAGE(STATUS "${_source_list}")
7#MESSAGE(STATUS "${${_source_list}}")
8
9  FOREACH(_source_file ${${_source_list}})
10        LIST(APPEND ${_target_list} "${_directory}/${_source_file}")
11#MESSAGE(STATUS ${${_target_list}})
12  ENDFOREACH(_source_file)
13ENDMACRO(ADD_SOURCE_FILES)
Note: See TracBrowser for help on using the repository browser.