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