9fef83f62438e86d6b58614303eb4d0ca0736a02
[reactos.git] / dll / win32 / oleacc / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3
4 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
5
6 spec2def(oleacc ${CMAKE_CURRENT_SOURCE_DIR}/oleacc.spec ${CMAKE_CURRENT_BINARY_DIR}/oleacc.def)
7
8 add_library(oleacc SHARED main.c oleacc.rc)
9
10 set_entrypoint(oleacc 0)
11
12 target_link_libraries(oleacc
13 ${CMAKE_CURRENT_BINARY_DIR}/oleacc.def
14 wine)
15
16 add_importlibs(oleacc
17 user32
18 kernel32
19 ntdll)
20
21 add_dependencies(oleacc oleacc_def)
22 add_livecd_target(oleacc reactos/system32)