mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
20 lines
548 B
CMake
20 lines
548 B
CMake
|
|
spec2def(newdev.dll newdev.spec ADD_IMPORTLIB)
|
|
|
|
list(APPEND SOURCE
|
|
newdev.c
|
|
stubs.c
|
|
wizard.c
|
|
newdev_private.h
|
|
${CMAKE_CURRENT_BINARY_DIR}/newdev_stubs.c)
|
|
|
|
add_library(newdev SHARED
|
|
${SOURCE}
|
|
newdev.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/newdev.def)
|
|
|
|
set_module_type(newdev win32dll UNICODE)
|
|
target_link_libraries(newdev wine)
|
|
add_importlibs(newdev gdi32 comctl32 setupapi advapi32 user32 shell32 msvcrt kernel32 ntdll)
|
|
add_pch(newdev newdev_private.h SOURCE)
|
|
add_cd_file(TARGET newdev DESTINATION reactos/system32 FOR all)
|