2010-10-06 18:57:42 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
|
2010-11-29 23:08:38 +00:00
|
|
|
set_rc_compiler()
|
2010-10-30 16:08:19 +00:00
|
|
|
spec2def(oleacc.dll oleacc.spec)
|
2010-10-06 18:57:42 +00:00
|
|
|
|
2010-11-29 23:08:38 +00:00
|
|
|
list(APPEND SOURCE
|
2010-12-10 16:08:35 +00:00
|
|
|
main.c
|
|
|
|
oleacc.rc
|
2011-01-31 14:20:53 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/oleacc_stubs.c
|
2010-10-30 16:08:19 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/oleacc.def)
|
2010-10-06 18:57:42 +00:00
|
|
|
|
2010-11-29 23:08:38 +00:00
|
|
|
add_library(oleacc SHARED ${SOURCE})
|
|
|
|
|
2010-12-19 23:00:46 +00:00
|
|
|
set_module_type(oleacc win32dll)
|
2010-10-06 18:57:42 +00:00
|
|
|
|
2010-10-30 16:08:19 +00:00
|
|
|
target_link_libraries(oleacc wine)
|
2010-10-06 18:57:42 +00:00
|
|
|
|
2010-12-19 23:00:46 +00:00
|
|
|
add_importlibs(oleacc user32 msvcrt kernel32 ntdll)
|
2010-10-06 18:57:42 +00:00
|
|
|
|
2010-12-10 16:08:35 +00:00
|
|
|
add_importlib_target(oleacc.spec)
|
|
|
|
add_cab_target(oleacc 1)
|