reactos/modules/rostests/apitests/win32u/win32u_2k3sp2/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
304 B
CMake

spec2def(win32u_2k3sp2.dll win32u_2k3sp2.spec ADD_IMPORTLIB)
add_asm_files(win32u_2k3sp2_asm sys-stubs.S)
add_library(win32u_2k3sp2 MODULE
main.c
${win32u_2k3sp2_asm}
${CMAKE_CURRENT_BINARY_DIR}/win32u_2k3sp2.def)
set_module_type(win32u_2k3sp2 module)
add_dependencies(win32u_2k3sp2 psdk)