1 2include_directories(${REACTOS_SOURCE_DIR}/win32ss) 3 4spec2def(win32u.dll win32u_ros.spec ADD_IMPORTLIB) 5add_asm_files(win32u_ros_asm sys-stubs.S) 6 7add_library(win32u MODULE 8 main.c 9 ${win32u_ros_asm} 10 ${CMAKE_CURRENT_BINARY_DIR}/win32u.def) 11 12set_module_type(win32u module) 13add_dependencies(win32u psdk) 14add_rostests_file(TARGET win32u) 15 16if (STACK_PROTECTOR) 17 target_compile_options(win32u PRIVATE -fno-stack-protector) 18endif() 19