mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 14:02:03 +00:00
[CMAKE]: Build all the remaining host tools/libraries (I think).
[CMAKE]: Fix definitions for some libraries. [CMAKE]: Build host tools with appropriate flags. svn path=/branches/cmake-bringup/; revision=48268
This commit is contained in:
parent
02b1c8a4e2
commit
8235c4622d
9 changed files with 75 additions and 7 deletions
18
lib/inflib/CMakeLists.txt
Normal file
18
lib/inflib/CMakeLists.txt
Normal file
|
@ -0,0 +1,18 @@
|
|||
include_directories(.)
|
||||
|
||||
SET(GLOBAL_FILES infcore.c infget.c infput.c)
|
||||
|
||||
if(CMAKE_CROSSCOMPILING)
|
||||
|
||||
file(GLOB_RECURSE SOURCE "infros*.c")
|
||||
add_library(inflib ${GLOBAL_FILES} ${SOURCE})
|
||||
|
||||
else()
|
||||
|
||||
file(GLOB_RECURSE SOURCE "infhost*.c")
|
||||
|
||||
add_definitions(-D__NO_CTYPE_INLINES -DINFLIB_HOST)
|
||||
add_definitions(-Wpointer-arith -Wconversion -Wstrict-prototypes -Wmissing-prototypes)
|
||||
add_library(inflibhost ${GLOBAL_FILES} ${SOURCE})
|
||||
|
||||
endif()
|
Loading…
Add table
Add a link
Reference in a new issue