mirror of
https://github.com/reactos/reactos.git
synced 2024-09-20 09:40:52 +00:00
0d72b49f46
- We won't be using mkdir to create folders since cmake has a command for it. - Split nci generated files into separate targets, so that modules can depend on each one of them separately if needed. - Add win32ksys to build. svn path=/branches/cmake-bringup/; revision=48329
14 lines
486 B
CMake
14 lines
486 B
CMake
|
|
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 ntdllsys_S)
|