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