2017-10-01 17:41:11 +00:00
|
|
|
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/win32ss)
|
|
|
|
|
|
|
|
spec2def(win32u.dll win32u_ros.spec ADD_IMPORTLIB)
|
|
|
|
add_asm_files(win32u_ros_asm sys-stubs.S)
|
|
|
|
|
2020-12-31 16:56:39 +00:00
|
|
|
add_library(win32u MODULE
|
2017-10-01 17:41:11 +00:00
|
|
|
main.c
|
|
|
|
${win32u_ros_asm}
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/win32u.def)
|
|
|
|
|
2019-04-29 03:49:54 +00:00
|
|
|
set_module_type(win32u module)
|
2017-10-01 17:41:11 +00:00
|
|
|
add_dependencies(win32u psdk)
|
|
|
|
add_rostests_file(TARGET win32u)
|
2020-12-31 16:56:39 +00:00
|
|
|
|
|
|
|
if (STACK_PROTECTOR)
|
|
|
|
target_compile_options(win32u PRIVATE -fno-stack-protector)
|
|
|
|
endif()
|