mirror of
https://github.com/reactos/reactos.git
synced 2024-11-03 21:34:00 +00:00
16 lines
479 B
Text
16 lines
479 B
Text
|
|
||
|
add_definitions(-D__WINESRC__)
|
||
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
||
|
spec2def(regapi.dll regapi.spec)
|
||
|
|
||
|
list(APPEND SOURCE
|
||
|
main.c
|
||
|
${CMAKE_CURRENT_BINARY_DIR}/regapi_stubs.c
|
||
|
${CMAKE_CURRENT_BINARY_DIR}/regapi.def)
|
||
|
|
||
|
add_library(regapi MODULE ${SOURCE})
|
||
|
set_module_type(regapi win32dll)
|
||
|
target_link_libraries(regapi wine)
|
||
|
add_importlibs(regapi advapi32 msvcrt kernel32 ntdll)
|
||
|
add_cd_file(TARGET regapi DESTINATION reactos/system32 FOR all)
|