2021-01-30 07:51:39 +01:00
|
|
|
add_subdirectory(ConcurrentQueue)
|
|
|
|
add_subdirectory(Fmt)
|
|
|
|
add_subdirectory(Squirrel)
|
|
|
|
add_subdirectory(SimpleIni)
|
|
|
|
add_subdirectory(TinyDir)
|
2021-01-31 17:48:31 +01:00
|
|
|
set(BUILD_TESTING OFF CACHE INTERNAL "" FORCE)
|
|
|
|
set(BUILD_SHARED_LIBS OFF CACHE INTERNAL "" FORCE)
|
|
|
|
add_subdirectory(MaxmindDB)
|
2021-01-30 07:51:39 +01:00
|
|
|
set(USE_SYSTEM_CURL ON CACHE INTERNAL "" FORCE)
|
|
|
|
set(BUILD_CPR_TESTS OFF CACHE INTERNAL "" FORCE)
|
|
|
|
set(BUILD_CPR_TESTS_SSL OFF CACHE INTERNAL "" FORCE)
|
|
|
|
set(GENERATE_COVERAGE OFF CACHE INTERNAL "" FORCE)
|
|
|
|
add_subdirectory(CPR)
|
|
|
|
#set(POCO_STATIC ON CACHE INTERNAL "" FORCE)
|
|
|
|
set(BUILD_SHARED_LIBS OFF CACHE INTERNAL "" FORCE)
|
|
|
|
set(ENABLE_FOUNDATION ON CACHE INTERNAL "" FORCE)
|
|
|
|
set(ENABLE_ENCODINGS ON CACHE INTERNAL "" FORCE)
|
|
|
|
set(ENABLE_ENCODINGS_COMPILER OFF CACHE INTERNAL "" FORCE)
|
|
|
|
set(ENABLE_XML ON CACHE INTERNAL "" FORCE)
|
|
|
|
set(ENABLE_JSON ON CACHE INTERNAL "" FORCE)
|
|
|
|
set(ENABLE_MONGODB ON CACHE INTERNAL "" FORCE)
|
|
|
|
set(ENABLE_DATA_SQLITE ON CACHE INTERNAL "" FORCE)
|
|
|
|
set(ENABLE_REDIS ON CACHE INTERNAL "" FORCE)
|
|
|
|
set(ENABLE_PDF OFF CACHE INTERNAL "" FORCE)
|
|
|
|
set(ENABLE_UTIL ON CACHE INTERNAL "" FORCE)
|
|
|
|
set(ENABLE_NET ON CACHE INTERNAL "" FORCE)
|
|
|
|
set(ENABLE_NETSSL ON CACHE INTERNAL "" FORCE)
|
|
|
|
set(ENABLE_SEVENZIP OFF CACHE INTERNAL "" FORCE)
|
|
|
|
set(ENABLE_ZIP ON CACHE INTERNAL "" FORCE)
|
|
|
|
set(ENABLE_CPPPARSER OFF CACHE INTERNAL "" FORCE)
|
|
|
|
set(ENABLE_POCODOC OFF CACHE INTERNAL "" FORCE)
|
|
|
|
set(ENABLE_PAGECOMPILER OFF CACHE INTERNAL "" FORCE)
|
|
|
|
set(ENABLE_PAGECOMPILER_FILE2PAGE OFF CACHE INTERNAL "" FORCE)
|
|
|
|
set(ENABLE_TESTS OFF CACHE INTERNAL "" FORCE)
|
|
|
|
set(POCO_UNBUNDLED OFF CACHE INTERNAL "" FORCE)
|
|
|
|
add_subdirectory(POCO)
|
2021-02-01 03:24:45 +01:00
|
|
|
# Windows gets stupid sometimes
|
|
|
|
if (WIN32 AND MINGW)
|
|
|
|
target_compile_definitions(Foundation PUBLIC POCO_NO_FPENVIRONMENT=1)
|
|
|
|
endif()
|