2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(newdev.dll newdev.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
newdev.c
|
|
|
|
stubs.c
|
|
|
|
wizard.c
|
2014-02-10 12:19:56 +00:00
|
|
|
newdev_private.h
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/newdev_stubs.c)
|
|
|
|
|
|
|
|
add_library(newdev SHARED
|
|
|
|
${SOURCE}
|
2013-11-28 22:18:05 +00:00
|
|
|
newdev.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/newdev.def)
|
|
|
|
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(newdev win32dll UNICODE)
|
2011-05-16 13:12:07 +00:00
|
|
|
target_link_libraries(newdev wine)
|
|
|
|
add_importlibs(newdev gdi32 comctl32 setupapi advapi32 user32 shell32 msvcrt kernel32 ntdll)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(newdev newdev_private.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET newdev DESTINATION reactos/system32 FOR all)
|
2012-03-07 21:21:27 +00:00
|
|
|
|