2 list(APPEND GLOBAL_FILES
7 if(CMAKE_CROSSCOMPILING)
13 add_library(inflib ${GLOBAL_FILES} ${SOURCE})
14 add_pch(inflib inflib.h)
15 add_dependencies(inflib psdk)
23 add_definitions(-D__NO_CTYPE_INLINES -DINFLIB_HOST)
25 add_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
27 add_library(inflibhost ${GLOBAL_FILES} ${SOURCE})
29 add_target_compile_flags(inflibhost "-Wpointer-arith -Wwrite-strings")
31 target_link_libraries(inflibhost unicode)