2011-05-16 13:12:07 +00:00
|
|
|
|
2012-02-27 22:46:20 +00:00
|
|
|
add_definitions(${I18N_DEFS})
|
2014-10-17 23:28:29 +00:00
|
|
|
|
2011-05-16 13:12:07 +00:00
|
|
|
include_directories(
|
2011-08-17 13:59:47 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
2016-04-20 12:36:25 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/lib/inflib
|
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/zlib
|
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2014-02-12 13:50:38 +00:00
|
|
|
list(APPEND SOURCE
|
2011-05-16 13:12:07 +00:00
|
|
|
interface/usetup.c
|
|
|
|
interface/devinst.c
|
|
|
|
interface/consup.c
|
|
|
|
native/utils/keytrans.c
|
|
|
|
native/utils/console.c
|
|
|
|
native/fslist.c
|
|
|
|
native/console.c
|
|
|
|
bootsup.c
|
|
|
|
cabinet.c
|
|
|
|
chkdsk.c
|
2014-12-20 21:58:22 +00:00
|
|
|
cmdcons.c
|
2011-05-16 13:12:07 +00:00
|
|
|
drivesup.c
|
|
|
|
filesup.c
|
|
|
|
filequeue.c
|
|
|
|
format.c
|
|
|
|
fslist.c
|
|
|
|
genlist.c
|
|
|
|
inffile.c
|
|
|
|
inicache.c
|
|
|
|
mui.c
|
|
|
|
partlist.c
|
|
|
|
progress.c
|
|
|
|
registry.c
|
|
|
|
settings.c
|
2014-02-12 13:50:38 +00:00
|
|
|
usetup.h)
|
|
|
|
|
2014-10-03 10:08:33 +00:00
|
|
|
add_executable(usetup ${SOURCE} usetup.rc)
|
2017-12-07 22:26:59 +00:00
|
|
|
|
|
|
|
if(USE_CLANG_CL)
|
|
|
|
add_target_compile_flags(usetup "-Wno-invalid-source-encoding")
|
|
|
|
endif()
|
|
|
|
|
2014-10-03 10:08:33 +00:00
|
|
|
target_link_libraries(usetup zlib inflib ext2lib vfatlib)
|
2011-05-16 13:12:07 +00:00
|
|
|
set_module_type(usetup nativecui)
|
2011-05-23 17:43:13 +00:00
|
|
|
add_importlibs(usetup ntdll)
|
2014-02-12 13:50:38 +00:00
|
|
|
add_pch(usetup usetup.h SOURCE)
|
2011-05-19 21:55:57 +00:00
|
|
|
add_cd_file(TARGET usetup DESTINATION reactos/system32 NO_CAB NAME_ON_CD smss.exe FOR bootcd regtest)
|