reactos/dll/win32/ntprint/CMakeLists.txt
Sylvain Petreolle 89271fe38d [CMAKE]
Add each win32dll module to livecd and remove global temporary add-on from gcc.cmake.
Fix pch use in fmifs.
Enable remaining dlls in dll/win32/CMakeLists.txt.

svn path=/branches/cmake-bringup/; revision=49230
2010-10-22 19:40:56 +00:00

17 lines
502 B
CMake

include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
spec2def(ntprint ${CMAKE_CURRENT_SOURCE_DIR}/ntprint.spec ${CMAKE_CURRENT_BINARY_DIR}/ntprint.def)
add_library(ntprint SHARED ntprint.c ntprint.rc)
set_module_type(ntprint win32dll)
target_link_libraries(ntprint
${CMAKE_CURRENT_BINARY_DIR}/ntprint.def
wine)
add_importlibs(ntprint winspool kernel32 ntdll)
add_dependencies(ntprint ntprint_def psdk)
add_livecd_target(ntprint reactos/system32)