* Sync up to trunk HEAD (r62285). Branch guys deserve the significant speedups too ;)
[reactos.git] / dll / win32 / uxtheme / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4 spec2def(uxtheme.dll uxtheme.spec ADD_IMPORTLIB)
5
6 list(APPEND SOURCE
7 buffer.c
8 draw.c
9 main.c
10 metric.c
11 msstyles.c
12 ncscrollbar.c
13 nonclient.c
14 property.c
15 stylemap.c
16 system.c
17 themehooks.c
18 uxini.c
19 uxthemep.h
20 ${CMAKE_CURRENT_BINARY_DIR}/uxtheme_stubs.c)
21
22 add_library(uxtheme SHARED
23 ${SOURCE}
24 version.rc
25 ${CMAKE_CURRENT_BINARY_DIR}/uxtheme.def)
26
27 set_module_type(uxtheme win32dll)
28 target_link_libraries(uxtheme wine)
29 add_delay_importlibs(uxtheme msimg32)
30 add_importlibs(uxtheme user32 advapi32 gdi32 msvcrt kernel32 ntdll)
31 add_pch(uxtheme uxthemep.h SOURCE)
32 add_cd_file(TARGET uxtheme DESTINATION reactos/system32 FOR all)