Sync with trunk r58033.
[reactos.git] / dll / win32 / oleacc / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4 spec2def(oleacc.dll oleacc.spec ADD_IMPORTLIB)
5
6 list(APPEND SOURCE
7 main.c
8 oleacc.rc
9 ${CMAKE_CURRENT_BINARY_DIR}/oleacc_stubs.c
10 ${CMAKE_CURRENT_BINARY_DIR}/oleacc.def)
11
12 add_library(oleacc SHARED ${SOURCE})
13 set_module_type(oleacc win32dll)
14 target_link_libraries(oleacc wine)
15 add_importlibs(oleacc user32 msvcrt kernel32 ntdll)
16 add_cd_file(TARGET oleacc DESTINATION reactos/system32 FOR all)