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