<commit_before>cmake_minimum_required (VERSION 2.8.11)
project (ui-server C CXX)

include(TargetLink)

find_library (POCO_FOUNDATION PocoFoundation)
find_library (POCO_SSL PocoNetSSL)
find_library (POCO_CRYPTO PocoCrypto)
find_library (POCO_UTIL PocoUtil)
find_library (POCO_NET PocoNet)
find_library (POCO_JSON PocoJSON)
find_library (POCO_XML PocoXML)
find_library (POCO_DATA PocoData)
find_library (POCO_SQLITE PocoDataSQLite)
find_library (POCO_ODBC PocoDataODBC)
find_library (POCO_CASSANDRA PocoDataCassandra)
find_library (ICU_I18N icui18n)
find_library (ICU_UC icuuc)
find_library (JWT jwt)
find_library (JANSSON jansson)
find_library (ZEROMQ zmq)

set(LIBS
	${POCO_FOUNDATION}
	${POCO_SSL}
	${POCO_CRYPTO}
	${POCO_UTIL}
	${POCO_NET}
	${POCO_JSON}
	${POCO_XML}
	${POCO_DATA}
	${ICU_I18N}
	${ICU_UC}
)

find_package(Lua "5.1" EXACT REQUIRED)

add_definitions(-std=c++11)

file(GLOB SOURCES
	${PROJECT_SOURCE_DIR}/baf/EventPublisher.cpp
	${PROJECT_SOURCE_DIR}/baf/GatewayWatcher.cpp<commit_msg>build: report quick workaround for solving Lua version issues<commit_after>cmake_minimum_required (VERSION 2.8.11)
project (ui-server C CXX)

include(TargetLink)

find_library (POCO_FOUNDATION PocoFoundation)
find_library (POCO_SSL PocoNetSSL)
find_library (POCO_CRYPTO PocoCrypto)
find_library (POCO_UTIL PocoUtil)
find_library (POCO_NET PocoNet)
find_library (POCO_JSON PocoJSON)
find_library (POCO_XML PocoXML)
find_library (POCO_DATA PocoData)
find_library (POCO_SQLITE PocoDataSQLite)
find_library (POCO_ODBC PocoDataODBC)
find_library (POCO_CASSANDRA PocoDataCassandra)
find_library (ICU_I18N icui18n)
find_library (ICU_UC icuuc)
find_library (JWT jwt)
find_library (JANSSON jansson)
find_library (ZEROMQ zmq)

set(LIBS
	${POCO_FOUNDATION}
	${POCO_SSL}
	${POCO_CRYPTO}
	${POCO_UTIL}
	${POCO_NET}
	${POCO_JSON}
	${POCO_XML}
	${POCO_DATA}
	${ICU_I18N}
	${ICU_UC}
)

find_package(Lua "5.1" EXACT REQUIRED)
message(STATUS "to solve issues with Lua version, pass your -DLUA_LIBRARY=/usr/lib64/liblua5.1.so")

add_definitions(-std=c++11)

file(GLOB SOURCES
	${PROJECT_SOURCE_DIR}/baf/EventPublisher.cpp
	${PROJECT_SOURCE_DIR}/baf/GatewayWatcher.cpp
{'fraction_non_alphanumeric': 0.09916201117318436, 'fraction_numerical': 0.0148975791433892, 'mean_word_length': 8.14468085106383, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1024956', 'n_tokens_mistral': 948, 'n_tokens_neox': 943, 'n_words': 169}