2014-09-29 12:51:45 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2014-09-29 12:51:45 +00:00
|
|
|
spec2def(mgmtapi.dll mgmtapi.spec)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
mgmtapi.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/mgmtapi_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/mgmtapi.def)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(mgmtapi MODULE ${SOURCE})
|
2014-09-29 12:51:45 +00:00
|
|
|
set_module_type(mgmtapi win32dll)
|
|
|
|
target_link_libraries(mgmtapi wine)
|
|
|
|
add_importlibs(mgmtapi msvcrt kernel32 ntdll)
|
|
|
|
add_cd_file(TARGET mgmtapi DESTINATION reactos/system32 FOR all)
|