mirror of
https://github.com/reactos/reactos.git
synced 2024-10-27 16:46:55 +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
24 lines
474 B
CMake
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)
|