[PRINTING] Add x64 print environment keys and folders
[reactos.git] / win32ss / printing / processors / winprint / CMakeLists.txt
1
2 spec2def(winprint.dll winprint.spec ADD_IMPORTLIB)
3
4 list(APPEND SOURCE
5 main.c
6 raw.c
7 precomp.h)
8
9 add_library(winprint MODULE
10 ${SOURCE}
11 winprint.rc
12 ${CMAKE_CURRENT_BINARY_DIR}/winprint.def)
13
14 set_module_type(winprint win32dll UNICODE)
15 target_link_libraries(winprint wine)
16 add_importlibs(winprint spoolss msvcrt kernel32 ntdll)
17 add_pch(winprint precomp.h SOURCE)
18 if(ARCH STREQUAL "amd64")
19 add_cd_file(TARGET winprint DESTINATION reactos/system32/spool/prtprocs/x64 FOR all)
20 else()
21 add_cd_file(TARGET winprint DESTINATION reactos/system32/spool/prtprocs/w32x86 FOR all)
22 endif()