mirror of
https://github.com/reactos/reactos.git
synced 2024-09-06 19:02:32 +00:00
16 lines
502 B
CMake
16 lines
502 B
CMake
![]() |
|
||
|
add_definitions(-D__WINESRC__)
|
||
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
||
|
spec2def(ntprint.dll ntprint.spec)
|
||
|
|
||
|
list(APPEND SOURCE
|
||
|
ntprint.c
|
||
|
${CMAKE_CURRENT_BINARY_DIR}/ntprint_stubs.c
|
||
|
${CMAKE_CURRENT_BINARY_DIR}/ntprint.def)
|
||
|
|
||
|
add_library(ntprint MODULE ${SOURCE} ntprint.rc)
|
||
|
set_module_type(ntprint win32dll)
|
||
|
target_link_libraries(ntprint wine)
|
||
|
add_importlibs(ntprint winspool msvcrt kernel32 ntdll)
|
||
|
add_cd_file(TARGET ntprint DESTINATION reactos/system32 FOR all)
|