<commit_before>cmake_minimum_required (VERSION 2.6)
project (SoundCity)

SET(CMAKE_CXX_FLAGS  "-std=c++11")

include_directories( ${PROJECT_SOURCE_DIR}/include )
link_directories( ${CMAKE_BINARY_DIR} )

set(SOUNDCITY_LIB_SRCS
  ${PROJECT_SOURCE_DIR}/src/Track.cpp
  ${PROJECT_SOURCE_DIR}/src/ContextData.cpp
  ${PROJECT_SOURCE_DIR}/src/SignalData.cpp
  ${PROJECT_SOURCE_DIR}/src/Artist.cpp
  ${PROJECT_SOURCE_DIR}/src/Album.cpp
  ${PROJECT_SOURCE_DIR}/src/OptionList.cpp
  ${PROJECT_SOURCE_DIR}/src/SQLiteDatabase.cpp
  ${PROJECT_SOURCE_DIR}/src/Generator.cpp
  ${PROJECT_SOURCE_DIR}/src/NaiveSimilarityStrategy.cpp
  ${PROJECT_SOURCE_DIR}/src/SimilarityStrategy.cpp
  ${PROJECT_SOURCE_DIR}/src/Playlist.cpp)

add_library( soundcity ${SOUNDCITY_LIB_SRCS} )

add_subdirectory( ${PROJECT_SOURCE_DIR}/test )<commit_msg>Ajout de l'executable du programme final (version console).<commit_after>cmake_minimum_required (VERSION 2.6)
project (SoundCity)

SET(CMAKE_CXX_FLAGS  "-std=c++11")

include_directories( ${PROJECT_SOURCE_DIR}/include )
link_directories( ${CMAKE_BINARY_DIR} )

set(SOUNDCITY_LIB_SRCS
  ${PROJECT_SOURCE_DIR}/src/Track.cpp
  ${PROJECT_SOURCE_DIR}/src/ContextData.cpp
  ${PROJECT_SOURCE_DIR}/src/SignalData.cpp
  ${PROJECT_SOURCE_DIR}/src/Artist.cpp
  ${PROJECT_SOURCE_DIR}/src/Album.cpp
  ${PROJECT_SOURCE_DIR}/src/OptionList.cpp
  ${PROJECT_SOURCE_DIR}/src/SQLiteDatabase.cpp
  ${PROJECT_SOURCE_DIR}/src/Generator.cpp
  ${PROJECT_SOURCE_DIR}/src/NaiveSimilarityStrategy.cpp
  ${PROJECT_SOURCE_DIR}/src/SimilarityStrategy.cpp
  ${PROJECT_SOURCE_DIR}/src/TextOutput.cpp
  ${PROJECT_SOURCE_DIR}/src/Playlist.cpp)

add_library( soundcity ${SOUNDCITY_LIB_SRCS} )

add_executable(soundcitybash ${PROJECT_SOURCE_DIR}/src/ConsoleUserInterface.cpp)
target_link_libraries(soundcitybash soundcity)
target_link_libraries(soundcitybash sqlite3)

add_subdirectory( ${PROJECT_SOURCE_DIR}/test )
{'fraction_non_alphanumeric': 0.12348284960422164, 'fraction_numerical': 0.00474934036939314, 'mean_word_length': 7.7373271889400925, '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': '6222295', 'n_tokens_mistral': 719, 'n_tokens_neox': 696, 'n_words': 70}