<commit_before>add_definitions(-DNOMINMAX=1) # Never want min/max macros from Windows.h

add_executable(ProbulatorGUI
	Blitter.cpp
	Blitter.h
	Common.h
	Main.cpp
	Model.cpp
	Model.h
	Renderer.cpp
	Renderer.h
)
target_link_libraries(ProbulatorGUI 
	Probulator 
	gl3w 
	glfw 
	imgui
	nfd
	tinyobjloader
)<commit_msg>Added a post-build step to copy data to the default working directory for ProbulatorGUI<commit_after>add_definitions(-DNOMINMAX=1) # Never want min/max macros from Windows.h

add_executable(ProbulatorGUI
	Blitter.cpp
	Blitter.h
	Common.h
	Main.cpp
	Model.cpp
	Model.h
	Renderer.cpp
	Renderer.h
)
target_link_libraries(ProbulatorGUI 
	Probulator 
	gl3w 
	glfw 
	imgui
	nfd
	tinyobjloader
)

if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
	set(DATA_CMD COMMAND ${CMAKE_COMMAND} -E copy_directory) # CMake doesn't support symlinks on Windows
else()
	set(DATA_CMD COMMAND ${CMAKE_COMMAND} -E create_symlink)
endif()

if (MSVC)
	set(DATA_DIR $<TARGET_FILE_DIR:ProbulatorGUI>/../Data) # Default Visual Studio workind directory is $(ProjectDir)
else()
	set(DATA_DIR $<TARGET_FILE_DIR:ProbulatorGUI>/Data)
endif()

add_custom_command(TARGET ProbulatorGUI POST_BUILD 
	${DATA_CMD} ${CMAKE_SOURCE_DIR}/Data ${DATA_DIR})
{'fraction_non_alphanumeric': 0.08941755537325677, 'fraction_numerical': 0.003281378178835111, 'mean_word_length': 5.559139784946237, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7468085', 'n_tokens_mistral': 478, 'n_tokens_neox': 454, 'n_words': 101}