<commit_before>cmake_minimum_required(VERSION 3.5)
project(JNF_NEAT)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
set(LIBRARY_NAME JNF_NEAT)
set(SOURCE_FILES
    JNF_NEAT/body.h
    JNF_NEAT/gene.cpp
    JNF_NEAT/gene.h
    JNF_NEAT/genome.cpp
    JNF_NEAT/genome.h
    JNF_NEAT/neural_network.cpp
    JNF_NEAT/neural_network.h
    JNF_NEAT/neural_network_trainer.cpp
    JNF_NEAT/neural_network_trainer.h
    JNF_NEAT/neuron.cpp
    JNF_NEAT/neuron.h
    JNF_NEAT/organism.cpp
    JNF_NEAT/organism.h
    JNF_NEAT/species.cpp
    JNF_NEAT/species.h
    JNF_NEAT/trained_neural_network.cpp
    JNF_NEAT/trained_neural_network.h
	JNF_NEAT/logger.cpp
	JNF_NEAT/logger.h
    JNF_NEAT/training_parameters.h
    )

add_library(${LIBRARY_NAME}
SHARED
${SOURCE_FILES})
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS TRUE)
target_link_libraries(JNF_NEAT -lstdc++fs)
<commit_msg>Modify CMakeLists to build example XOR finding application<commit_after>cmake_minimum_required(VERSION 3.5)
project(JNF_NEAT)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
set(SOURCE_FILES
    JNF_NEAT/body.h
    JNF_NEAT/gene.cpp
    JNF_NEAT/gene.h
    JNF_NEAT/genome.cpp
    JNF_NEAT/genome.h
    JNF_NEAT/neural_network.cpp
    JNF_NEAT/neural_network.h
    JNF_NEAT/neural_network_trainer.cpp
    JNF_NEAT/neural_network_trainer.h
    JNF_NEAT/neuron.cpp
    JNF_NEAT/neuron.h
    JNF_NEAT/organism.cpp
    JNF_NEAT/organism.h
    JNF_NEAT/species.cpp
    JNF_NEAT/species.h
    JNF_NEAT/trained_neural_network.cpp
    JNF_NEAT/trained_neural_network.h
    JNF_NEAT/training_parameters.h    
	JNF_NEAT/logger.cpp
	JNF_NEAT/logger.h	
	
	Examples/Examples/xor_solver.cpp
    Examples/Examples/xor_solver.h
    Examples/Examples/main.cpp
	)

add_executable(JNF_NEAT ${SOURCE_FILES})
target_link_libraries(JNF_NEAT -lstdc++fs)
{'fraction_non_alphanumeric': 0.08763172490293955, 'fraction_numerical': 0.004437049362174155, 'mean_word_length': 4.228985507246377, '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': '600506', 'n_tokens_mistral': 832, 'n_tokens_neox': 788, 'n_words': 77}