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
|
2013-01-24 23:00:42 +00:00
|
|
|
rsrc.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/newdev_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/newdev.def)
|
|
|
|
|
|
|
|
add_library(newdev SHARED ${SOURCE})
|
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)
|
2011-08-11 15:16:48 +00:00
|
|
|
add_pch(newdev newdev_private.h)
|
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
|
|
|
|