reactos/dll/cpl/usrmgr/CMakeLists.txt
Jérôme Gardou fd5ef6b1c1 [CMAKE]
- 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
2010-10-30 09:53:53 +00:00

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)