[CLANG-CL] Initial commit that allows us to compile ReactOS with clang-cl.
[reactos.git] / base / setup / usetup / CMakeLists.txt
1
2 add_definitions(${I18N_DEFS})
3
4 include_directories(
5 ${CMAKE_CURRENT_SOURCE_DIR}
6 ${REACTOS_SOURCE_DIR}/sdk/lib/inflib
7 ${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/zlib
8 ${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers)
9
10 list(APPEND SOURCE
11 interface/usetup.c
12 interface/devinst.c
13 interface/consup.c
14 native/utils/keytrans.c
15 native/utils/console.c
16 native/fslist.c
17 native/console.c
18 bootsup.c
19 cabinet.c
20 chkdsk.c
21 cmdcons.c
22 drivesup.c
23 filesup.c
24 filequeue.c
25 format.c
26 fslist.c
27 genlist.c
28 inffile.c
29 inicache.c
30 mui.c
31 partlist.c
32 progress.c
33 registry.c
34 settings.c
35 usetup.h)
36
37 add_executable(usetup ${SOURCE} usetup.rc)
38 target_link_libraries(usetup zlib inflib ext2lib vfatlib)
39 set_module_type(usetup nativecui)
40 add_importlibs(usetup ntdll)
41 add_pch(usetup usetup.h SOURCE)
42 add_cd_file(TARGET usetup DESTINATION reactos/system32 NO_CAB NAME_ON_CD smss.exe FOR bootcd regtest)