mirror of
https://github.com/reactos/reactos.git
synced 2024-09-12 22:02:18 +00:00
24 lines
513 B
CMake
24 lines
513 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_cd_file(TARGET newdev DESTINATION reactos/system32 FOR all)
|
||
|
add_importlib_target(newdev.spec)
|