Synchronize with trunk revision 59636 (just before Alex's CreateProcess revamp).
[reactos.git] / base / setup / usetup / CMakeLists.txt
1
2 add_definitions(${I18N_DEFS})
3 include_directories(
4 ${CMAKE_CURRENT_SOURCE_DIR}
5 ${REACTOS_SOURCE_DIR}/lib/inflib
6 ${REACTOS_SOURCE_DIR}/include/reactos/libs/zlib
7 ${REACTOS_SOURCE_DIR}/include/reactos/drivers)
8
9 add_executable(usetup
10 interface/usetup.c
11 interface/devinst.c
12 interface/consup.c
13 native/utils/keytrans.c
14 native/utils/console.c
15 native/fslist.c
16 native/console.c
17 bootsup.c
18 cabinet.c
19 chkdsk.c
20 drivesup.c
21 filesup.c
22 filequeue.c
23 format.c
24 fslist.c
25 genlist.c
26 inffile.c
27 inicache.c
28 mui.c
29 partlist.c
30 progress.c
31 registry.c
32 settings.c
33 usetup.rc)
34
35 target_link_libraries(usetup
36 zlib
37 inflib
38 ext2lib
39 vfatlib)
40
41 set_module_type(usetup nativecui)
42 add_importlibs(usetup ntdll)
43 add_pch(usetup usetup.h)
44 add_cd_file(TARGET usetup DESTINATION reactos/system32 NO_CAB NAME_ON_CD smss.exe FOR bootcd regtest)