mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
47 lines
1 KiB
CMake
47 lines
1 KiB
CMake
|
|
add_definitions(${I18N_DEFS})
|
|
|
|
include_directories(
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
${REACTOS_SOURCE_DIR}/sdk/lib/inflib
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/zlib
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers)
|
|
|
|
list(APPEND SOURCE
|
|
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
|
|
cmdcons.c
|
|
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
|
|
usetup.h)
|
|
|
|
add_executable(usetup ${SOURCE} usetup.rc)
|
|
|
|
if(USE_CLANG_CL)
|
|
add_target_compile_flags(usetup "-Wno-invalid-source-encoding")
|
|
endif()
|
|
|
|
target_link_libraries(usetup zlib_solo inflib ext2lib vfatlib)
|
|
set_module_type(usetup nativecui)
|
|
add_importlibs(usetup ntdll)
|
|
add_pch(usetup usetup.h SOURCE)
|
|
add_cd_file(TARGET usetup DESTINATION reactos/system32 NO_CAB NAME_ON_CD smss.exe FOR bootcd regtest)
|