[CMAKE]
[reactos.git] / dll / win32 / ntprint / CMakeLists.txt
1 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
2 add_definitions(-D__WINESRC__)
3
4 set_rc_compiler()
5 spec2def(ntprint.dll ntprint.spec)
6
7 list(APPEND SOURCE
8 ntprint.c
9 ntprint.rc
10 ${CMAKE_CURRENT_BINARY_DIR}/ntprint_stubs.c
11 ${CMAKE_CURRENT_BINARY_DIR}/ntprint.def)
12
13 add_library(ntprint SHARED ${SOURCE})
14
15 set_module_type(ntprint win32dll)
16
17 target_link_libraries(ntprint wine)
18
19 add_importlibs(ntprint winspool msvcrt kernel32 ntdll)
20 add_dependencies(ntprint psdk)
21 add_cd_file(TARGET ntprint DESTINATION reactos/system32)