reactos/modules/rostests/apitests/win32u/win32u_2ksp4/CMakeLists.txt
Jérôme Gardou 23373acbb9 [CMAKE] Use modules instead of shared libraries
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.
2019-04-06 17:43:38 +02:00

12 lines
288 B
CMake

spec2def(win32u_2ksp4.dll win32u_2ksp4.spec)
add_asm_files(win32u_2ksp4_asm win32u_2ksp4.S)
add_library(win32u_2ksp4 MODULE
main.c
${win32ku_2ksp4_asm}
${CMAKE_CURRENT_BINARY_DIR}/win32u_2ksp4.def)
set_module_type(win32u_2ksp4 module)
add_dependencies(win32u_2ksp4 psdk)