<commit_before>
find_package(Threads REQUIRED)

set(GE_PRIVATE_SOURCES
	src/actor.cpp
	src/log.cpp
)

set(GE_PUBLIC_SOURCES
	include/ge/actor.hpp
	include/ge/actor_ticker_subsystem.hpp
	include/ge/asset_manager.hpp
	include/ge/camera_actor.hpp
	include/ge/concept/asset.hpp
	include/ge/tickable.hpp
	include/ge/hash_typeindex.hpp
	include/ge/input_event.hpp
	include/ge/input_subsystem.hpp
	include/ge/json.hpp
	include/ge/json_helper.hpp
	include/ge/runtime.hpp
	include/ge/subsystem.hpp
	include/ge/timer_manager.hpp
	include/ge/transform.hpp
)

add_library(gentlemanly_engine ${GE_PUBLIC_SOURCES} ${GE_PRIVATE_SOURCES})

target_include_directories(gentlemanly_engine
PUBLIC
	${CMAKE_CURRENT_SOURCE_DIR}/../deps/glm
	${CMAKE_CURRENT_SOURCE_DIR}/include
)

target_link_libraries(gentlemanly_engine
PUBLIC 
	Threads::Threads
	boost_filesystem
)

target_compile_definitions(gentlemanly_engine
PUBLIC
	BOOST_ALL_NO_LIB
)

if(NOT EMSCRIPTEN)
	target_compile_features(gentlemanly_engine
	PUBLIC
		cxx_generic_lambdas
		cxx_variadic_templates
	)
else()
	target_compile_options(gentlemanly_engine PUBLIC "-std=c++14")
endif()<commit_msg>Make emscripten not link to threads)<commit_after>if(NOT EMSCRIPTEN)
  find_package(Threads REQUIRED)
endif()

set(GE_PRIVATE_SOURCES
	src/actor.cpp
	src/log.cpp
)

set(GE_PUBLIC_SOURCES
	include/ge/actor.hpp
	include/ge/actor_ticker_subsystem.hpp
	include/ge/asset_manager.hpp
	include/ge/camera_actor.hpp
	include/ge/concept/asset.hpp
	include/ge/tickable.hpp
	include/ge/hash_typeindex.hpp
	include/ge/input_event.hpp
	include/ge/input_subsystem.hpp
	include/ge/json.hpp
	include/ge/json_helper.hpp
	include/ge/runtime.hpp
	include/ge/subsystem.hpp
	include/ge/timer_manager.hpp
	include/ge/transform.hpp
)

add_library(gentlemanly_engine ${GE_PUBLIC_SOURCES} ${GE_PRIVATE_SOURCES})

target_include_directories(gentlemanly_engine
PUBLIC
	${CMAKE_CURRENT_SOURCE_DIR}/../deps/glm
	${CMAKE_CURRENT_SOURCE_DIR}/include
)

target_link_libraries(gentlemanly_engine
PUBLIC 
	boost_filesystem
)

target_compile_definitions(gentlemanly_engine
PUBLIC
	BOOST_ALL_NO_LIB
)

if(NOT EMSCRIPTEN)
	target_compile_features(gentlemanly_engine
	PUBLIC
		cxx_generic_lambdas
		cxx_variadic_templates
	)
  target_link_libraries(gentlemanly_engine PUBLIC Threads::Threads)
else()
	target_compile_options(gentlemanly_engine PUBLIC "-std=c++14")
endif()
{'fraction_non_alphanumeric': 0.09013965298349556, 'fraction_numerical': 0.0016927634363097758, 'mean_word_length': 6.700325732899023, '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': '4287072', 'n_tokens_mistral': 975, 'n_tokens_neox': 900, 'n_words': 102}