reactos/dll/win32/newdev/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

24 lines
474 B
CMake

set_unicode()
spec2def(newdev.dll newdev.spec)
list(APPEND SOURCE
newdev.c
stubs.c
wizard.c
newdev.rc
${CMAKE_CURRENT_BINARY_DIR}/newdev_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/newdev.def)
add_library(newdev SHARED ${SOURCE})
set_module_type(newdev win32dll)
target_link_libraries(newdev wine)
add_importlibs(newdev gdi32 comctl32 setupapi advapi32 user32 shell32 msvcrt kernel32 ntdll)
add_cab_target(newdev 1)
add_importlib_target(newdev.spec)