1 2if(ENABLE_ROSAPPS) 3 add_subdirectory(rosapps) 4endif() 5 6if(ENABLE_ROSTESTS) 7 add_subdirectory(rostests) 8endif() 9 10if(ENABLE_WALLPAPERS) 11 add_subdirectory(wallpapers) 12endif() 13 14if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/AHK_Tests/) 15 add_subdirectory(AHK_Tests) 16endif() 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. 22if(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) 27endif() 28if(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) 33endif() 34if(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) 39endif() 40 41## Extra files which you need existing on the hard drive after the installation. 42if(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) 47endif() 48