mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 12:54:51 +00:00
18 lines
451 B
CMake
18 lines
451 B
CMake
![]() |
|
||
|
add_definitions(-D__WINESRC__)
|
||
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||
|
|
||
|
spec2def(mcicda.dll mcicda.spec)
|
||
|
|
||
|
list(APPEND SOURCE
|
||
|
mcicda.c
|
||
|
${CMAKE_CURRENT_BINARY_DIR}/mcicda.def)
|
||
|
|
||
|
add_library(mcicda SHARED ${SOURCE})
|
||
|
|
||
|
set_entrypoint(mcicda 0)
|
||
|
target_link_libraries(mcicda wine)
|
||
|
add_importlibs(mcicda winmm user32 kernel32 ntdll)
|
||
|
add_dependencies(mcicda psdk)
|
||
|
add_cd_file(TARGET mcicda DESTINATION reactos/system32 FOR all)
|