[NTOS:KE/x64] Handle NMI vs swapgs race condition
[reactos.git] / dll / win32 / olesvr32 / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4 spec2def(olesvr32.dll olesvr32.spec)
5
6 list(APPEND SOURCE
7 olesvr_main.c
8 ${CMAKE_CURRENT_BINARY_DIR}/olesvr32_stubs.c
9 ${CMAKE_CURRENT_BINARY_DIR}/olesvr32.def)
10
11 add_library(olesvr32 MODULE ${SOURCE})
12 set_module_type(olesvr32 win32dll)
13 target_link_libraries(olesvr32 wine)
14 add_importlibs(olesvr32 msvcrt kernel32 ntdll)
15 add_cd_file(TARGET olesvr32 DESTINATION reactos/system32 FOR all)