2010-08-22 01:17:53 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
|
|
|
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
|
|
|
|
spec2def(clusapi ${CMAKE_CURRENT_SOURCE_DIR}/clusapi.spec ${CMAKE_CURRENT_BINARY_DIR}/clusapi.def)
|
|
|
|
|
|
|
|
add_library(clusapi SHARED clusapi.c)
|
|
|
|
|
2010-10-02 22:19:59 +00:00
|
|
|
set_module_type(clusapi win32dll)
|
2010-08-22 01:17:53 +00:00
|
|
|
|
|
|
|
target_link_libraries(clusapi
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/clusapi.def
|
2010-10-02 22:19:59 +00:00
|
|
|
wine)
|
2010-08-22 01:17:53 +00:00
|
|
|
|
2010-10-02 22:19:59 +00:00
|
|
|
add_importlibs(clusapi kernel32 ntdll)
|
|
|
|
add_dependencies(clusapi clusapi_def)
|
2010-10-22 19:40:56 +00:00
|
|
|
add_livecd_target(clusapi reactos/system32)
|