reactos/dll/win32/spoolss/CMakeLists.txt
Hermès Bélusca-Maïto 65ce146169 Create a branch for working on csrss and co.
svn path=/branches/ros-csrss/; revision=57561
2012-10-14 13:04:31 +00:00

20 lines
545 B
CMake

include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
spec2def(spoolss.dll spoolss.spec ADD_IMPORTLIB)
list(APPEND SOURCE
spoolss_main.c
router.c
${CMAKE_CURRENT_BINARY_DIR}/spoolss_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/spoolss.def)
add_library(spoolss SHARED ${SOURCE})
allow_warnings(spoolss)
set_module_type(spoolss win32dll)
target_link_libraries(spoolss wine)
add_importlibs(spoolss winspool msvcrt kernel32 ntdll)
add_cd_file(TARGET spoolss DESTINATION reactos/system32 FOR all)