mirror of
https://github.com/reactos/reactos.git
synced 2024-11-11 17:21:17 +00:00
18 lines
435 B
Text
18 lines
435 B
Text
|
|
||
|
add_definitions(-D__WINESRC__)
|
||
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||
|
|
||
|
spec2def(msisys ${CMAKE_CURRENT_SOURCE_DIR}/msisys.ocx.spec ${CMAKE_CURRENT_BINARY_DIR}/msisys.def)
|
||
|
|
||
|
add_library(msisys SHARED msisys.c)
|
||
|
|
||
|
set_module_type(msisys win32ocx)
|
||
|
|
||
|
target_link_libraries(msisys
|
||
|
${CMAKE_CURRENT_BINARY_DIR}/msisys.def
|
||
|
uuid
|
||
|
wine)
|
||
|
|
||
|
add_importlibs(msisys kernel32 ntdll)
|
||
|
add_dependencies(msisys msisys_def)
|