88c1744f122403cdab7b8991d7476df00d45e28b
[reactos.git] / dll / win32 / oleacc / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 set_rc_compiler()
6 spec2def(oleacc.dll oleacc.spec)
7
8 list(APPEND SOURCE
9 main.c
10 oleacc.rc
11 ${CMAKE_CURRENT_BINARY_DIR}/oleacc.def)
12
13 add_library(oleacc SHARED ${SOURCE})
14
15 set_module_type(oleacc win32dll)
16
17 target_link_libraries(oleacc wine)
18
19 add_importlibs(oleacc user32 msvcrt kernel32 ntdll)
20
21 add_importlib_target(oleacc.spec)
22 add_cab_target(oleacc 1)