a48917455aac9c3d0474f4ead599eb55ed7819c8
[reactos.git] / reactos / modules / CMakeLists.txt
1
2 if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/rostests/)
3 add_subdirectory(rostests)
4 endif()
5
6 if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/rosapps/)
7 add_subdirectory(rosapps)
8 endif()
9
10 if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/wallpapers/)
11 add_subdirectory(wallpapers)
12 endif()
13
14 ## Extra files for Hybrid CD. You need to put them under hybridcd_extras
15 ## in the same layout as you want them to be in the CD.
16 if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/hybridcd_extras/)
17 file(GLOB_RECURSE EXTRA_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/hybridcd_extras/ ${CMAKE_CURRENT_SOURCE_DIR}/hybridcd_extras/*)
18 foreach(item ${EXTRA_FILES})
19 add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/hybridcd_extras/${item} DESTINATION extras NAME_ON_CD ${item} FOR hybridcd)
20 endforeach(item)
21 endif()