<commit_before>cmake_minimum_required(VERSION 3.7)
project(hermit_tools)

include(../cmake/HermitCore-Paths.cmake)

add_compile_options(-std=c99)

add_executable(proxy proxy.c uhyve.c)
target_link_libraries(proxy -pthread)

install(TARGETS proxy
	DESTINATION bin)

install(FILES init.sh
	DESTINATION tools)

# Show include files in IDE
file(GLOB_RECURSE TOOLS_INCLUDES "*.h")
add_custom_target(tools_includes_ide SOURCES ${TOOLS_INCLUDES})<commit_msg>add compiler flag "-pthread" to our proxy<commit_after>cmake_minimum_required(VERSION 3.7)
project(hermit_tools)

include(../cmake/HermitCore-Paths.cmake)

add_compile_options(-std=c99)

add_executable(proxy proxy.c uhyve.c)
target_compile_options(proxy PUBLIC -pthread)
target_link_libraries(proxy -pthread)

install(TARGETS proxy
	DESTINATION bin)

install(FILES init.sh
	DESTINATION tools)

# Show include files in IDE
file(GLOB_RECURSE TOOLS_INCLUDES "*.h")
add_custom_target(tools_includes_ide SOURCES ${TOOLS_INCLUDES})
{'fraction_non_alphanumeric': 0.09631147540983606, 'fraction_numerical': 0.00819672131147541, 'mean_word_length': 7.723214285714286, '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': '6678468', 'n_tokens_mistral': 385, 'n_tokens_neox': 360, 'n_words': 66}