mirror of
https://github.com/reactos/reactos.git
synced 2024-09-12 05:43:24 +00:00
47 lines
966 B
CMake
47 lines
966 B
CMake
|
|
add_definitions(${I18N_DEFS})
|
|
include_directories(
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
${REACTOS_SOURCE_DIR}/lib/inflib
|
|
${REACTOS_SOURCE_DIR}/include/reactos/libs/zlib
|
|
${REACTOS_SOURCE_DIR}/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
|
|
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)
|
|
|
|
target_link_libraries(usetup
|
|
zlib
|
|
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)
|