<commit_before>cmake_minimum_required(VERSION 2.8)
project(FALCON)

set (CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
set(thrift_USE_STATIC_LIBS "TRUE")

find_package( Boost REQUIRED COMPONENTS program_options )
find_package(Thrift REQUIRED)

include (cmake/GenThrift.cmake)
include (cmake/GenClients.cmake)

buildThriftCpp(thrift/FalconService.thrift)
genPythonClient()

add_executable(falcon
  ${CMAKE_BINARY_DIR}/thrift/gen-cpp/FalconService.cpp
  src/main.cpp
  src/options.cpp
  src/graph.cpp
  src/json/json.c
  src/json/parser.cpp
  src/graphparser.cpp
  src/graphvisitors.cpp
  src/daemon_instance.cpp
  src/graph_sequential_builder.cpp
  src/posix_subprocess.cpp
  src/server.cpp
  )

include_directories(src
  ${thrift_INCLUDE_DIR}
  ${CMAKE_BINARY_DIR}/thrift/gen-cpp/
  ${Boost_INCLIDE_DIRS})

target_link_libraries(falcon
  ${thrift_LIBRARIES}
  ${Boost_PROGRAM_OPTIONS_LIBRARY}
  pthread)

# This project uses C++11<commit_msg>minimal version required for the libboost<commit_after>cmake_minimum_required(VERSION 2.8)
project(FALCON)

set (CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
set(thrift_USE_STATIC_LIBS "TRUE")


find_package( Boost "1.55" REQUIRED COMPONENTS program_options log)
find_package(Thrift REQUIRED)

include (cmake/GenThrift.cmake)
include (cmake/GenClients.cmake)

buildThriftCpp(thrift/FalconService.thrift)
genPythonClient()

add_executable(falcon
  ${CMAKE_BINARY_DIR}/thrift/gen-cpp/FalconService.cpp
  src/main.cpp
  src/options.cpp
  src/graph.cpp
  src/json/json.c
  src/json/parser.cpp
  src/graphparser.cpp
  src/graphvisitors.cpp
  src/daemon_instance.cpp
  src/graph_sequential_builder.cpp
  src/posix_subprocess.cpp
  src/server.cpp
  )

include_directories(src
  ${thrift_INCLUDE_DIR}
  ${CMAKE_BINARY_DIR}/thrift/gen-cpp/
  ${Boost_INCLIDE_DIRS})

target_link_libraries(falcon
  ${thrift_LIBRARIES}
  ${Boost_PROGRAM_OPTIONS_LIBRARY}
  ${Boost_LOG_LIBRARY}
  pthread)

# This project uses C++11
{'fraction_non_alphanumeric': 0.10285132382892057, 'fraction_numerical': 0.00560081466395112, 'mean_word_length': 5.968085106382978, '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': '6292058', 'n_tokens_mistral': 802, 'n_tokens_neox': 773, 'n_words': 99}