mirror of
https://github.com/reactos/reactos.git
synced 2024-11-04 05:43:30 +00:00
9cc4f5ceee
Don't automatically add stub files to the sources, instead add them manually where neccessary. also fix a number of spec files to resemble actual state of implementation. svn path=/branches/cmake-bringup/; revision=50574
30 lines
651 B
CMake
30 lines
651 B
CMake
|
|
spec2def(userenv.dll userenv.spec)
|
|
|
|
list(APPEND SOURCE
|
|
desktop.c
|
|
directory.c
|
|
environment.c
|
|
gpolicy.c
|
|
misc.c
|
|
profile.c
|
|
registry.c
|
|
setup.c
|
|
userenv.c
|
|
userenv.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/userenv_stubs.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/userenv.def)
|
|
|
|
add_library(userenv SHARED
|
|
${CMAKE_CURRENT_BINARY_DIR}/userenv_precomp.h.gch
|
|
${SOURCE})
|
|
|
|
set_module_type(userenv win32dll)
|
|
|
|
target_link_libraries(userenv uuid)
|
|
|
|
add_importlibs(userenv advapi32 user32 msvcrt kernel32 ntdll)
|
|
add_pch(userenv ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
|
|
|
add_cab_target(userenv 1)
|
|
add_importlib_target(userenv.spec)
|