2010-10-05 13:03:47 +00:00
|
|
|
|
2010-10-30 16:08:19 +00:00
|
|
|
spec2def(userenv.dll userenv.spec)
|
2010-10-05 13:03:47 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
desktop.c
|
|
|
|
directory.c
|
|
|
|
environment.c
|
|
|
|
gpolicy.c
|
|
|
|
misc.c
|
|
|
|
profile.c
|
|
|
|
registry.c
|
|
|
|
setup.c
|
|
|
|
userenv.c
|
2010-10-30 16:08:19 +00:00
|
|
|
userenv.rc
|
2011-01-31 14:20:53 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/userenv_stubs.c
|
2010-10-30 16:08:19 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/userenv.def)
|
2010-10-05 13:03:47 +00:00
|
|
|
|
|
|
|
add_library(userenv SHARED
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/userenv_precomp.h.gch
|
|
|
|
${SOURCE})
|
|
|
|
|
|
|
|
set_module_type(userenv win32dll)
|
|
|
|
|
2010-10-30 16:08:19 +00:00
|
|
|
target_link_libraries(userenv uuid)
|
2010-10-05 13:03:47 +00:00
|
|
|
|
2010-11-27 09:00:22 +00:00
|
|
|
add_importlibs(userenv advapi32 user32 msvcrt kernel32 ntdll)
|
2010-10-05 13:03:47 +00:00
|
|
|
add_pch(userenv ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
2010-10-30 16:08:19 +00:00
|
|
|
|
2010-10-30 09:53:53 +00:00
|
|
|
add_cab_target(userenv 1)
|
2010-11-27 00:02:36 +00:00
|
|
|
add_importlib_target(userenv.spec)
|