mirror of
https://github.com/reactos/reactos.git
synced 2025-03-10 18:24:02 +00:00

- add macros add_cab and add_cab_target to add files to reactos.dff - add bootcd target - make use of these macros to create bootcd and livecd Bootcd works and install things, but 2nd stage fails booting. We need debug symbols!!! svn path=/branches/cmake-bringup/; revision=49347
33 lines
599 B
CMake
33 lines
599 B
CMake
|
|
set_unicode()
|
|
|
|
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
spec2def(usrmgr ${CMAKE_CURRENT_SOURCE_DIR}/usrmgr.spec ${CMAKE_CURRENT_BINARY_DIR}/usrmgr.def)
|
|
|
|
add_library(usrmgr SHARED
|
|
extra.c
|
|
groupprops.c
|
|
groups.c
|
|
misc.c
|
|
userprops.c
|
|
users.c
|
|
usrmgr.c
|
|
usrmgr.rc)
|
|
|
|
set_module_type(usrmgr cpl)
|
|
|
|
target_link_libraries(usrmgr ${CMAKE_CURRENT_BINARY_DIR}/usrmgr.def)
|
|
|
|
add_importlibs(usrmgr
|
|
advapi32
|
|
user32
|
|
gdi32
|
|
comctl32
|
|
netapi32
|
|
msvcrt
|
|
kernel32
|
|
ntdll)
|
|
|
|
add_dependencies(usrmgr usrmgr_def)
|
|
add_cab_target(usrmgr 1)
|