mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
16 lines
459 B
Text
16 lines
459 B
Text
|
|
||
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
||
|
add_definitions(-D__WINESRC__)
|
||
|
spec2def(avrt.dll avrt.spec)
|
||
|
|
||
|
list(APPEND SOURCE
|
||
|
main.c
|
||
|
${CMAKE_CURRENT_BINARY_DIR}/avrt_stubs.c
|
||
|
${CMAKE_CURRENT_BINARY_DIR}/avrt.def)
|
||
|
|
||
|
add_library(avrt MODULE ${SOURCE})
|
||
|
set_module_type(avrt win32dll)
|
||
|
target_link_libraries(avrt wine)
|
||
|
add_importlibs(avrt user32 msvcrt kernel32 ntdll)
|
||
|
add_cd_file(TARGET avrt DESTINATION reactos/system32 FOR all)
|