[SETUP:REACTOS] Adapt the 1st-stage GUI setup to compile with the setuplib.
[reactos.git] / base / setup / reactos / CMakeLists.txt
1
2 include_directories(
3 ${CMAKE_CURRENT_SOURCE_DIR}
4 ${CMAKE_CURRENT_SOURCE_DIR}/../lib
5 # ${REACTOS_SOURCE_DIR}/base/setup/lib
6 ${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/zlib
7 ${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers)
8
9 list(APPEND SOURCE
10 drivepage.c
11 inffile.c
12 reactos.c
13 reactos.h)
14
15 file(GLOB reactos_rc_deps res/*.*)
16 add_rc_deps(reactos.rc ${reactos_rc_deps})
17 add_executable(reactos ${SOURCE} reactos.rc)
18 set_module_type(reactos win32gui UNICODE)
19 add_pch(reactos reactos.h SOURCE)
20 target_link_libraries(reactos uuid setuplib ext2lib vfatlib btrfslib)
21 add_importlibs(reactos advapi32 gdi32 user32 comctl32 setupapi msvcrt kernel32 ntdll)
22 add_cd_file(TARGET reactos DESTINATION reactos NO_CAB FOR bootcd)