reactos/dll/win32/userenv/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

30 lines
666 B
CMake

spec2def(userenv ${CMAKE_CURRENT_SOURCE_DIR}/userenv.spec ${CMAKE_CURRENT_BINARY_DIR}/userenv.def)
list(APPEND SOURCE
desktop.c
directory.c
environment.c
gpolicy.c
misc.c
profile.c
registry.c
setup.c
userenv.c
userenv.rc)
add_library(userenv SHARED
${CMAKE_CURRENT_BINARY_DIR}/userenv_precomp.h.gch
${SOURCE})
set_module_type(userenv win32dll)
target_link_libraries(userenv
${CMAKE_CURRENT_BINARY_DIR}/userenv.def
uuid)
add_importlibs(userenv advapi32 user32 kernel32 ntdll)
add_pch(userenv ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
add_dependencies(userenv userenv_def)
add_cab_target(userenv 1)