<commit_before>cmake_minimum_required(VERSION 2.8.3)
project(hfo)

set(SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src)
SET(LIBRCSC_INCLUDE ~/.local/include)
SET(LIBRCSC_LINK ~/.local/lib)

include_directories(
  ${SOURCE_DIR}
  ${SOURCE_DIR}/chain_action
  ${LIBRCSC_INCLUDE}
)

link_directories(
  ${LIBRCSC_LINK}
)

file(GLOB SOURCES ${SOURCE_DIR}/*.cpp ${SOURCE_DIR}/chain_action/*.cpp)
list(REMOVE_ITEM SOURCES ${SOURCE_DIR}/main_coach.cpp ${SOURCE_DIR}/main_player.cpp ${SOURCE_DIR}/main_trainer.cpp)
MESSAGE(${SOURCES})

list(APPEND LINK_LIBS
  rcsc_agent
  rcsc_geom
  rcsc_param
  rcsc_ann
  rcsc_net
  rcsc_gz
  rcsc_time
  rcsc_rcg
  ${CMAKE_THREAD_LIBS_INIT}
)

add_executable(sample_coach ${SOURCE_DIR}/main_coach.cpp ${SOURCES})
add_executable(sample_player ${SOURCE_DIR}/main_player.cpp ${SOURCES})
add_executable(sample_trainer ${SOURCE_DIR}/main_trainer.cpp ${SOURCES})

target_link_libraries(sample_coach ${LINK_LIBS})
target_link_libraries(sample_player ${LINK_LIBS})
target_link_libraries(sample_trainer ${LINK_LIBS})<commit_msg>Remove print.<commit_after>cmake_minimum_required(VERSION 2.8.3)
project(hfo)

set(SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src)
set(LIBRCSC_INCLUDE ~/.local/include)
set(LIBRCSC_LINK ~/.local/lib)

include_directories(
  ${SOURCE_DIR}
  ${SOURCE_DIR}/chain_action
  ${LIBRCSC_INCLUDE}
)

link_directories(
  ${LIBRCSC_LINK}
)

file(GLOB SOURCES ${SOURCE_DIR}/*.cpp ${SOURCE_DIR}/chain_action/*.cpp)
list(REMOVE_ITEM SOURCES ${SOURCE_DIR}/main_coach.cpp ${SOURCE_DIR}/main_player.cpp ${SOURCE_DIR}/main_trainer.cpp)

list(APPEND LINK_LIBS
  rcsc_agent
  rcsc_geom
  rcsc_param
  rcsc_ann
  rcsc_net
  rcsc_gz
  rcsc_time
  rcsc_rcg
  ${CMAKE_THREAD_LIBS_INIT}
)

add_executable(sample_coach ${SOURCE_DIR}/main_coach.cpp ${SOURCES})
add_executable(sample_player ${SOURCE_DIR}/main_player.cpp ${SOURCES})
add_executable(sample_trainer ${SOURCE_DIR}/main_trainer.cpp ${SOURCES})

target_link_libraries(sample_coach ${LINK_LIBS})
target_link_libraries(sample_player ${LINK_LIBS})
target_link_libraries(sample_trainer ${LINK_LIBS})
{'fraction_non_alphanumeric': 0.12475822050290135, 'fraction_numerical': 0.0029013539651837525, 'mean_word_length': 8.074561403508772, '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': '452504', 'n_tokens_mistral': 851, 'n_tokens_neox': 810, 'n_words': 101}