Completed SCSIOP_READ_CAPACITY, SCSIOP_REPORT_LUNS, SCSIOP_READ
[reactos.git] / 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 Boot/Live/Hybrid CD. You need to put them under [boot|live|hybrid]cd_extras
15 ## in the same layout as you want them to be in the CD.
16 if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/bootcd_extras/)
17 file(GLOB_RECURSE EXTRA_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/bootcd_extras/ ${CMAKE_CURRENT_SOURCE_DIR}/bootcd_extras/*)
18 foreach(item ${EXTRA_FILES})
19 add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/bootcd_extras/${item} DESTINATION extras NO_CAB NAME_ON_CD ${item} FOR bootcd regtest)
20 endforeach(item)
21 endif()
22 if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/livecd_extras/)
23 file(GLOB_RECURSE EXTRA_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/livecd_extras/ ${CMAKE_CURRENT_SOURCE_DIR}/livecd_extras/*)
24 foreach(item ${EXTRA_FILES})
25 add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/livecd_extras/${item} DESTINATION extras NO_CAB NAME_ON_CD ${item} FOR livecd)
26 endforeach(item)
27 endif()
28 if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/hybridcd_extras/)
29 file(GLOB_RECURSE EXTRA_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/hybridcd_extras/ ${CMAKE_CURRENT_SOURCE_DIR}/hybridcd_extras/*)
30 foreach(item ${EXTRA_FILES})
31 add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/hybridcd_extras/${item} DESTINATION extras NO_CAB NAME_ON_CD ${item} FOR hybridcd)
32 endforeach(item)
33 endif()