reactos/reactos/modules/CMakeLists.txt
Hermès Bélusca-Maïto 5286be0747 Adjust CMakeLists entry in consequence of r66725.
svn path=/trunk/; revision=66726
2015-03-15 16:07:33 +00:00

22 lines
781 B
CMake

if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/rostests/)
add_subdirectory(rostests)
endif()
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/rosapps/)
add_subdirectory(rosapps)
endif()
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/wallpapers/)
add_subdirectory(wallpapers)
endif()
## Extra files for Hybrid CD. You need to put them under hybridcd_extras
## in the same layout as you want them to be in the CD.
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/hybridcd_extras/)
file(GLOB_RECURSE EXTRA_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/hybridcd_extras/ ${CMAKE_CURRENT_SOURCE_DIR}/hybridcd_extras/*)
foreach(item ${EXTRA_FILES})
add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/hybridcd_extras/${item} DESTINATION extras NAME_ON_CD ${item} FOR hybridcd)
endforeach(item)
endif()