mirror of
https://github.com/reactos/reactos.git
synced 2024-09-22 18:45:51 +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
35 lines
633 B
CMake
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)
|