reactos/dll/win32/devmgr/CMakeLists.txt
Timo Kreuzer 9cc4f5ceee [CMAKE]
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
2011-01-31 14:20:53 +00:00

35 lines
633 B
CMake

set_unicode()
spec2def(devmgr.dll devmgr.spec)
list(APPEND SOURCE
devmgr.rc
advprop.c
devprblm.c
hwpage.c
misc.c
stubs.c
${CMAKE_CURRENT_BINARY_DIR}/devmgr_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/devmgr.def)
add_library(devmgr SHARED ${CMAKE_CURRENT_BINARY_DIR}/devmgr_precomp.h.gch ${SOURCE})
set_module_type(devmgr win32dll)
target_link_libraries(devmgr uuid wine)
add_importlibs(devmgr
setupapi
advapi32
user32
version
msvcrt
kernel32
ntdll)
add_pch(devmgr ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
add_cab_target(devmgr 1)
add_importlib_target(devmgr.spec)