reactos/dll/win32/userenv/CMakeLists.txt
Amine Khaldi 08265cb095 [CMAKE]
Alexey Komarov:
- More work on base modules.
- Add some dlls to build.

svn path=/branches/cmake-bringup/; revision=48996
2010-10-05 13:03:47 +00:00

29 lines
640 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)