1 2include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine) 3add_definitions(-D__WINESRC__) 4spec2def(uxtheme.dll uxtheme.spec ADD_IMPORTLIB) 5 6list(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 version.rc 20 ${CMAKE_CURRENT_BINARY_DIR}/uxtheme_stubs.c 21 ${CMAKE_CURRENT_BINARY_DIR}/uxtheme.def) 22 23add_library(uxtheme SHARED ${SOURCE}) 24set_module_type(uxtheme win32dll) 25target_link_libraries(uxtheme wine) 26add_delay_importlibs(uxtheme msimg32) 27add_importlibs(uxtheme user32 advapi32 gdi32 msvcrt kernel32 ntdll) 28add_pch(uxtheme uxthemep.h) 29add_cd_file(TARGET uxtheme DESTINATION reactos/system32 FOR all) 30