mirror of
https://github.com/reactos/reactos.git
synced 2024-10-19 15:41:31 +00:00
23373acbb9
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.
15 lines
346 B
CMake
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)
|