mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00

There is no need to compile our DLLs as shared libraries since we are managing symbols exports and imports through spec files. On my system, this reduces the configure-time by a factor of two.
15 lines
520 B
CMake
15 lines
520 B
CMake
|
|
include_directories(${REACTOS_SOURCE_DIR}/win32ss/printing/include)
|
|
|
|
list(APPEND SOURCE
|
|
fpEnumPrinters.c
|
|
fpGetPrintProcessorDirectory.c
|
|
fpSetJob.c
|
|
main.c)
|
|
|
|
add_library(localspl_apitest.dll MODULE ${SOURCE})
|
|
target_link_libraries(localspl_apitest.dll wine ${PSEH_LIB})
|
|
set_module_type(localspl_apitest.dll win32dll)
|
|
add_importlibs(localspl_apitest.dll spoolss advapi32 msvcrt kernel32 ntdll)
|
|
set_target_properties(localspl_apitest.dll PROPERTIES SUFFIX "")
|
|
add_rostests_file(TARGET localspl_apitest.dll)
|