[CMAKE]
[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 spec2def(dwmapi.dll dwmapi.spec)
7
8 add_library(dwmapi SHARED dwmapi_main.c version.rc ${CMAKE_CURRENT_BINARY_DIR}/dwmapi.def)
9
10 set_module_type(dwmapi win32dll)
11
12 target_link_libraries(dwmapi wine)
13
14 add_importlibs(dwmapi kernel32 ntdll)
15
16 add_cab_target(dwmapi 1)