[CMAKE]
[reactos.git] / dll / win32 / newdev / CMakeLists.txt
1
2 set_unicode()
3
4 spec2def(newdev ${CMAKE_CURRENT_SOURCE_DIR}/newdev.spec ${CMAKE_CURRENT_BINARY_DIR}/newdev.def)
5
6 add_library(newdev SHARED
7 newdev.c
8 stubs.c
9 wizard.c
10 newdev.rc)
11
12 set_module_type(newdev win32dll)
13
14 target_link_libraries(newdev
15 ${CMAKE_CURRENT_BINARY_DIR}/newdev.def
16 wine)
17
18 add_importlibs(newdev gdi32 comctl32 setupapi advapi32 user32 shell32 kernel32 ntdll)
19 add_dependencies(newdev newdev_def)
20 add_cab_target(newdev 1)