16f9b13636c142d878a74d67691dd1a4f218fb67
[reactos.git] / dll / win32 / ntprint / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4
5 spec2def(ntprint ${CMAKE_CURRENT_SOURCE_DIR}/ntprint.spec ${CMAKE_CURRENT_BINARY_DIR}/ntprint.def)
6
7 add_library(ntprint SHARED ntprint.c ntprint.rc)
8
9 set_module_type(ntprint win32dll)
10
11 target_link_libraries(ntprint
12 ${CMAKE_CURRENT_BINARY_DIR}/ntprint.def
13 wine)
14
15 add_importlibs(ntprint winspool kernel32 ntdll)
16 add_dependencies(ntprint ntprint_def psdk)
17 add_livecd_target(ntprint reactos/system32)