xref: /reactos/dll/win32/xolehlp/CMakeLists.txt (revision 23373acb)
1
2add_definitions(-D__WINESRC__)
3include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4spec2def(xolehlp.dll xolehlp.spec)
5
6list(APPEND SOURCE
7    xolehlp.c
8    ${CMAKE_CURRENT_BINARY_DIR}/xolehlp_stubs.c
9    ${CMAKE_CURRENT_BINARY_DIR}/xolehlp.def)
10
11add_library(xolehlp MODULE ${SOURCE})
12set_module_type(xolehlp win32dll)
13target_link_libraries(xolehlp adsiid uuid wine)
14add_importlibs(xolehlp msvcrt kernel32 ntdll)
15add_cd_file(TARGET xolehlp DESTINATION reactos/system32 FOR all)
16