[CMAKE]
[reactos.git] / dll / win32 / uxtheme / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4
5 spec2def(uxtheme ${CMAKE_CURRENT_SOURCE_DIR}/uxtheme.spec ${CMAKE_CURRENT_BINARY_DIR}/uxtheme.def)
6
7 add_library(uxtheme SHARED
8 buffer.c
9 draw.c
10 main.c
11 metric.c
12 msstyles.c
13 property.c
14 stylemap.c
15 system.c
16 uxini.c
17 version.rc)
18
19 set_module_type(uxtheme win32dll)
20
21 target_link_libraries(uxtheme
22 ${CMAKE_CURRENT_BINARY_DIR}/uxtheme.def
23 wine)
24
25 add_importlibs(uxtheme user32 advapi32 gdi32 msimg32 kernel32 ntdll)
26 add_dependencies(uxtheme uxtheme_def)
27 add_livecd_target(uxtheme reactos/system32)