[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 ${CMAKE_CURRENT_SOURCE_DIR}/dwmapi.spec ${CMAKE_CURRENT_BINARY_DIR}/dwmapi.def)
7
8 add_library(dwmapi SHARED dwmapi_main.c version.rc)
9
10 set_module_type(dwmapi win32dll)
11
12 target_link_libraries(dwmapi
13 ${CMAKE_CURRENT_BINARY_DIR}/dwmapi.def
14 wine)
15
16 add_importlibs(dwmapi kernel32 ntdll)
17 add_dependencies(dwmapi dwmapi_def)
18 add_livecd_target(dwmapi reactos/system32)