mirror of
https://github.com/reactos/reactos.git
synced 2025-01-10 16:18:16 +00:00
[CMAKE]
- Add ntdllsys to build. svn path=/branches/cmake-bringup/; revision=48326
This commit is contained in:
parent
a7d2ad6334
commit
0de1055529
2 changed files with 14 additions and 0 deletions
|
@ -13,6 +13,7 @@ add_subdirectory(epsapi)
|
|||
add_subdirectory(fslib)
|
||||
add_subdirectory(lsalib)
|
||||
add_subdirectory(nls)
|
||||
add_subdirectory(ntdllsys)
|
||||
add_subdirectory(pseh)
|
||||
add_subdirectory(recyclebin)
|
||||
add_subdirectory(rossym)
|
||||
|
|
13
lib/ntdllsys/CMakeLists.txt
Normal file
13
lib/ntdllsys/CMakeLists.txt
Normal file
|
@ -0,0 +1,13 @@
|
|||
|
||||
get_directory_property(defines COMPILE_DEFINITIONS)
|
||||
|
||||
foreach(arg ${defines})
|
||||
set(result_defs "${result_defs} -D${arg}")
|
||||
endforeach(arg ${defines})
|
||||
|
||||
set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> -x assembler-with-cpp -o <OBJECT> ${result_defs} -D__ASM__ <FLAGS> -c <SOURCE>")
|
||||
|
||||
set_source_files_properties(${REACTOS_BINARY_DIR}/lib/ntdllsys/ntdll.S PROPERTIES GENERATED TRUE)
|
||||
|
||||
add_library(ntdllsys ${REACTOS_BINARY_DIR}/lib/ntdllsys/ntdll.S)
|
||||
add_dependencies(ntdllsys nci_resources)
|
Loading…
Reference in a new issue