[SYSDM] Meh
[reactos.git] / modules / CMakeLists.txt
1
2 if(ENABLE_ROSAPPS)
3 add_subdirectory(rosapps)
4 endif()
5
6 if(ENABLE_ROSTESTS)
7 add_subdirectory(rostests)
8 endif()
9
10 if(ENABLE_WALLPAPERS)
11 add_subdirectory(wallpapers)
12 endif()
13
14 if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/AHK_Tests/)
15 add_subdirectory(AHK_Tests)
16 endif()
17
18 ## Extra files for Boot/Live/Hybrid CD. You need to put them under [boot|live|hybrid]cd_extras
19 ## in the same layout as you want them to be in the CD.
20 ## If you change the content of any of the following folders later on,
21 ## run "cmake ." before compiling.
22 if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/bootcd_extras/)
23 file(GLOB_RECURSE EXTRA_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/bootcd_extras/ ${CMAKE_CURRENT_SOURCE_DIR}/bootcd_extras/*)
24 foreach(item ${EXTRA_FILES})
25 add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/bootcd_extras/${item} DESTINATION extras NO_CAB NAME_ON_CD ${item} FOR bootcd regtest)
26 endforeach(item)
27 endif()
28 if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/livecd_extras/)
29 file(GLOB_RECURSE EXTRA_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/livecd_extras/ ${CMAKE_CURRENT_SOURCE_DIR}/livecd_extras/*)
30 foreach(item ${EXTRA_FILES})
31 add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/livecd_extras/${item} DESTINATION extras NO_CAB NAME_ON_CD ${item} FOR livecd)
32 endforeach(item)
33 endif()
34 if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/hybridcd_extras/)
35 file(GLOB_RECURSE EXTRA_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/hybridcd_extras/ ${CMAKE_CURRENT_SOURCE_DIR}/hybridcd_extras/*)
36 foreach(item ${EXTRA_FILES})
37 add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/hybridcd_extras/${item} DESTINATION extras NO_CAB NAME_ON_CD ${item} FOR hybridcd)
38 endforeach(item)
39 endif()
40
41 ## Extra files which you need existing on the hard drive after the installation.
42 if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/)
43 file(GLOB_RECURSE EXTRA_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/ ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/*)
44 foreach(item ${EXTRA_FILES})
45 add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/${item} DESTINATION reactos/3rdParty NAME_ON_CD ${item} FOR bootcd)
46 endforeach(item)
47 endif()