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