mirror of
https://github.com/reactos/reactos.git
synced 2024-08-22 03:12:51 +00:00
16 lines
479 B
CMake
16 lines
479 B
CMake
![]() |
|
||
|
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)
|