mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[CMAKE]
- Improve pseh. svn path=/branches/cmake-bringup/; revision=48656
This commit is contained in:
parent
8719ae188a
commit
5ba1569888
1 changed files with 14 additions and 3 deletions
|
@ -1,6 +1,17 @@
|
|||
file(GLOB_RECURSE ARCH_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/${ARCH}/*.c ${CMAKE_CURRENT_SOURCE_DIR}/${ARCH}/*.S)
|
||||
file(GLOB SOURCE "*.c")
|
||||
|
||||
add_library(pseh ${ARCH_SOURCE} ${SOURCE})
|
||||
list(APPEND SOURCE framebased.c)
|
||||
|
||||
if(ARCH MATCHES i386)
|
||||
list(APPEND SOURCE
|
||||
i386/framebased.S
|
||||
i386/framebased-gcchack.c
|
||||
i386/framebased-gcchack-asm.S)
|
||||
elseif(ARCH MATCHES amd64)
|
||||
list(APPEND SOURCE amd64/framebased.S)
|
||||
elseif(ARCH MATCHES powerpc)
|
||||
list(APPEND SOURCE powerpc/framebased.S)
|
||||
endif(ARCH MATCHES i386)
|
||||
|
||||
add_library(pseh ${SOURCE})
|
||||
add_dependencies(pseh psdk)
|
||||
|
||||
|
|
Loading…
Reference in a new issue