xref: /reactos/dll/win32/uxtheme/CMakeLists.txt (revision 628b8700)
1
2include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3add_definitions(-D__WINESRC__)
4set_rc_compiler()
5
6spec2def(uxtheme.dll uxtheme.spec)
7
8list(APPEND SOURCE
9    buffer.c
10    draw.c
11    main.c
12    metric.c
13    msstyles.c
14    ncscrollbar.c
15    nonclient.c
16    property.c
17    stylemap.c
18    system.c
19    themehooks.c
20    uxini.c
21    version.rc
22    ${CMAKE_CURRENT_BINARY_DIR}/uxtheme_stubs.c
23    ${CMAKE_CURRENT_BINARY_DIR}/uxtheme.def)
24
25add_library(uxtheme SHARED ${SOURCE})
26
27set_module_type(uxtheme win32dll)
28
29target_link_libraries(uxtheme wine)
30
31add_importlibs(uxtheme user32 advapi32 gdi32 msimg32 msvcrt kernel32 ntdll)
32
33add_cd_file(TARGET uxtheme DESTINATION reactos/system32 FOR all)
34add_importlib_target(uxtheme.spec)
35