c68219b68626942e48d82cd1bd88c851d376c747
[reactos.git] / dll / win32 / dwmapi / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3
4 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
5
6 set_rc_compiler()
7
8 spec2def(dwmapi.dll dwmapi.spec)
9
10 list(APPEND SOURCE
11 dwmapi_main.c
12 version.rc
13 ${CMAKE_CURRENT_BINARY_DIR}/dwmapi.def)
14
15 add_library(dwmapi SHARED ${SOURCE})
16
17 set_module_type(dwmapi win32dll)
18 target_link_libraries(dwmapi wine)
19 add_importlibs(dwmapi msvcrt kernel32 ntdll)
20 add_cab_target(dwmapi 1)