[CMAKE]
[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_stubs.c
12 ${CMAKE_CURRENT_BINARY_DIR}/oleacc.def)
13
14 add_library(oleacc SHARED ${SOURCE})
15
16 set_module_type(oleacc win32dll)
17
18 target_link_libraries(oleacc wine)
19
20 add_importlibs(oleacc user32 msvcrt kernel32 ntdll)
21
22 add_importlib_target(oleacc.spec)
23 add_cab_target(oleacc 1)