mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[W32KDLL_APITESTS] Properly handle ASM files. Also use set_module_type() instead of manually setting the entry point.
svn path=/trunk/; revision=65615
This commit is contained in:
parent
51fa01cea7
commit
395dc9ef1f
5 changed files with 13 additions and 8 deletions
|
@ -1,9 +1,10 @@
|
|||
|
||||
spec2def(w32kdll_2k3sp2.dll w32kdll_2k3sp2.spec ADD_IMPORTLIB)
|
||||
add_asm_files(w32kdll_2k3sp2_asm sys-stubs.S)
|
||||
|
||||
add_library(w32kdll_2k3sp2 SHARED
|
||||
main.c
|
||||
sys-stubs.S
|
||||
${w32kdll_2k3sp2_asm}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/w32kdll_2k3sp2.def)
|
||||
|
||||
set_module_type(w32kdll_2k3sp2 module)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
|
||||
spec2def(w32kdll_2ksp4.dll w32kdll_2ksp4.spec)
|
||||
add_asm_files(w32kdll_2ksp4_asm w32kdll_2ksp4.S)
|
||||
|
||||
add_library(w32kdll_2ksp4 SHARED
|
||||
main.c
|
||||
w32kdll_2ksp4.S
|
||||
${w32kdll_2ksp4_asm}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/w32kdll_2ksp4.def)
|
||||
|
||||
set_entrypoint(w32kdll_2ksp4 0)
|
||||
set_module_type(w32kdll_2ksp4 module)
|
||||
add_dependencies(w32kdll_2ksp4 psdk)
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
|
||||
spec2def(w32kdll_ros.dll w32kdll_ros.spec ADD_IMPORTLIB)
|
||||
add_asm_files(w32kdll_ros_asm sys-stubs.S)
|
||||
|
||||
add_library(w32kdll_ros SHARED
|
||||
main.c
|
||||
sys-stubs.S
|
||||
${w32kdll_ros_asm}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/w32kdll_ros.def)
|
||||
|
||||
set_module_type(w32kdll_ros module)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
|
||||
spec2def(w32kdll_vista.spec w32kdll_vista.spec ADD_IMPORTLIB)
|
||||
add_asm_files(w32kdll_vista_asm w32kdll_vista.S)
|
||||
|
||||
add_library(w32kdll_vista SHARED
|
||||
main.c
|
||||
w32kdll_vista.S
|
||||
${w32kdll_vista_asm}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/w32kdll_vista.def)
|
||||
|
||||
set_entrypoint(w32kdll_vista 0)
|
||||
add_dependencies(w32kdll_vista psdk )
|
||||
set_module_type(w32kdll_vista module)
|
||||
add_dependencies(w32kdll_vista psdk)
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
|
||||
spec2def(w32kdll_xpsp2.dll w32kdll_xpsp2.spec ADD_IMPORTLIB)
|
||||
add_asm_files(w32kdll_xpsp2_asm sys-stubs.S)
|
||||
|
||||
add_library(w32kdll_xpsp2 SHARED
|
||||
main.c
|
||||
sys-stubs.S
|
||||
${w32kdll_xpsp2_asm}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/w32kdll_xpsp2.def)
|
||||
|
||||
set_module_type(w32kdll_xpsp2 module)
|
||||
|
|
Loading…
Reference in a new issue