mirror of
https://github.com/reactos/reactos.git
synced 2024-09-09 20:30:04 +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.
12 lines
304 B
CMake
12 lines
304 B
CMake
|
|
spec2def(win32u_2k3sp2.dll win32u_2k3sp2.spec ADD_IMPORTLIB)
|
|
add_asm_files(win32u_2k3sp2_asm sys-stubs.S)
|
|
|
|
add_library(win32u_2k3sp2 MODULE
|
|
main.c
|
|
${win32u_2k3sp2_asm}
|
|
${CMAKE_CURRENT_BINARY_DIR}/win32u_2k3sp2.def)
|
|
|
|
set_module_type(win32u_2k3sp2 module)
|
|
add_dependencies(win32u_2k3sp2 psdk)
|