<commit_before>cmake_minimum_required(VERSION 2.8)

add_library(
	OxFS
		filesystem.cpp
)

if(OX_BUILD_EXEC STREQUAL "ON")
	add_executable(
		oxfstool
			oxfstool.cpp
	)
endif()

set_target_properties(oxfstool PROPERTIES OUTPUT_NAME oxfs)
target_link_libraries(oxfstool OxFS OxStd)

install(
	FILES
		filestore.hpp
		filesystem.hpp
		inodemgr.hpp
	DESTINATION
		include/ox/fs
)

install(TARGETS OxFS
        LIBRARY DESTINATION lib
        ARCHIVE DESTINATION lib
)

if(OX_BUILD_EXEC STREQUAL "ON")<commit_msg>Remove executable linking from exec building off<commit_after>cmake_minimum_required(VERSION 2.8)

add_library(
	OxFS
		filesystem.cpp
)

if(OX_BUILD_EXEC STREQUAL "ON")
	add_executable(
		oxfstool
			oxfstool.cpp
	)
	set_target_properties(oxfstool PROPERTIES OUTPUT_NAME oxfs)
	target_link_libraries(oxfstool OxFS OxStd)
endif()

install(
	FILES
		filestore.hpp
		filesystem.hpp
		inodemgr.hpp
	DESTINATION
		include/ox/fs
)

install(TARGETS OxFS
        LIBRARY DESTINATION lib
        ARCHIVE DESTINATION lib
)

if(OX_BUILD_EXEC STREQUAL "ON")
{'fraction_non_alphanumeric': 0.06628787878787878, 'fraction_numerical': 0.003787878787878788, 'mean_word_length': 4.622340425531915, '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': '6685436', 'n_tokens_mistral': 458, 'n_tokens_neox': 415, 'n_words': 79}