mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 19:11:51 +00:00
[CMAKE]: Simplify makefiles.
svn path=/branches/cmake-bringup/; revision=48428
This commit is contained in:
parent
5abcbffcd0
commit
0436f84653
4 changed files with 1 additions and 39 deletions
|
@ -1,14 +1,4 @@
|
|||
|
||||
file(GLOB_RECURSE ARCH_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/${ARCH}/*.c ${CMAKE_CURRENT_SOURCE_DIR}/${ARCH}/*.S)
|
||||
|
||||
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>")
|
||||
|
||||
file(GLOB SOURCE "*.c")
|
||||
|
||||
add_library(pseh ${ARCH_SOURCE} ${SOURCE})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue