[CMAKE]
[reactos.git] / base / setup / usetup / CMakeLists.txt
1
2 include_directories(
3 ${REACTOS_SOURCE_DIR}/lib/newinflib
4 ${REACTOS_SOURCE_DIR}/lib/3rdparty/zlib
5 ${REACTOS_SOURCE_DIR}/include/reactos/drivers)
6
7 add_executable(usetup
8 interface/usetup.c
9 interface/devinst.c
10 interface/consup.c
11 native/utils/keytrans.c
12 native/utils/console.c
13 native/fslist.c
14 native/console.c
15 bootsup.c
16 cabinet.c
17 chkdsk.c
18 drivesup.c
19 filesup.c
20 filequeue.c
21 format.c
22 fslist.c
23 genlist.c
24 inffile.c
25 inicache.c
26 mui.c
27 partlist.c
28 progress.c
29 registry.c
30 settings.c
31 usetup.rc)
32
33 target_link_libraries(usetup
34 mingw_main
35 zlib
36 inflib
37 ext2lib
38 vfatlib
39 mingw_common)
40
41 if(MSVC)
42 target_link_libraries(usetup msvcsup)
43 endif()
44
45 set_module_type(usetup nativecui)
46 add_importlibs(usetup kernel32 ntdll)
47 add_cd_file(TARGET usetup DESTINATION reactos/system32 NO_CAB NO_LIVECD NAME_ON_CD smss.exe)