[CMAKE]: Build all the remaining host tools/libraries (I think).
[reactos.git] / lib / inflib / CMakeLists.txt
1 include_directories(.)
2
3 SET(GLOBAL_FILES infcore.c infget.c infput.c)
4
5 if(CMAKE_CROSSCOMPILING)
6
7 file(GLOB_RECURSE SOURCE "infros*.c")
8 add_library(inflib ${GLOBAL_FILES} ${SOURCE})
9
10 else()
11
12 file(GLOB_RECURSE SOURCE "infhost*.c")
13
14 add_definitions(-D__NO_CTYPE_INLINES -DINFLIB_HOST)
15 add_definitions(-Wpointer-arith -Wconversion -Wstrict-prototypes -Wmissing-prototypes)
16 add_library(inflibhost ${GLOBAL_FILES} ${SOURCE})
17
18 endif()