reactos/modules/rostests/apitests/win32u/win32u_ros/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

15 lines
346 B
CMake

include_directories(${REACTOS_SOURCE_DIR}/win32ss)
spec2def(win32u.dll win32u_ros.spec ADD_IMPORTLIB)
add_asm_files(win32u_ros_asm sys-stubs.S)
add_library(win32u MODULE
main.c
${win32u_ros_asm}
${CMAKE_CURRENT_BINARY_DIR}/win32u.def)
set_module_type(win32u module)
add_dependencies(win32u psdk)
add_rostests_file(TARGET win32u)