1 2include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 3add_definitions(-D__WINESRC__) 4spec2def(propsys.dll propsys.spec ADD_IMPORTLIB) 5 6list(APPEND SOURCE 7 propstore.c 8 propsys_main.c 9 propvar.c 10 precomp.h 11 ${CMAKE_CURRENT_BINARY_DIR}/propsys_stubs.c) 12 13add_library(propsys MODULE 14 ${SOURCE} 15 propsys.rc 16 ${CMAKE_CURRENT_BINARY_DIR}/propsys.def) 17 18set_module_type(propsys win32dll) 19target_link_libraries(propsys uuid wine) 20add_importlibs(propsys ole32 oleaut32 msvcrt kernel32 ntdll) 21add_pch(propsys precomp.h SOURCE) 22add_cd_file(TARGET propsys DESTINATION reactos/system32 FOR all) 23