<commit_before>set (CMAKE_CXX_STANDARD 11)
cmake_minimum_required(VERSION 3.1)

include(ExternalProject)
ExternalProject_Add(nicehash-api-cpp
  GIT_REPOSITORY    https://github.com/4iar/nicehash-api-cpp.git
  GIT_TAG           testing
  SOURCE_DIR        "${CMAKE_BINARY_DIR}/nicehash-src"
  BINARY_DIR        "${CMAKE_BINARY_DIR}/nicehash-build"
)

include_directories(${CMAKE_BINARY_DIR}/nicehash-src/include)

add_executable(main main.cpp)
add_dependencies(main nicehash-api-cpp)
target_link_libraries(main ${CMAKE_BINARY_DIR}/nicehash-build/libnicehash-api-cpp.so)<commit_msg>Fix example ExternalProject download<commit_after>set (CMAKE_CXX_STANDARD 11)
cmake_minimum_required(VERSION 3.1)

include(ExternalProject)
ExternalProject_Add(nicehash-api-cpp
  GIT_REPOSITORY    https://github.com/4iar/nicehash-api-cpp.git
  GIT_TAG           master
  SOURCE_DIR        "${CMAKE_BINARY_DIR}/nicehash-src"
  BINARY_DIR        "${CMAKE_BINARY_DIR}/nicehash-build"
)

include_directories(${CMAKE_BINARY_DIR}/nicehash-src/include)

add_executable(main main.cpp)
add_dependencies(main nicehash-api-cpp)
target_link_libraries(main ${CMAKE_BINARY_DIR}/nicehash-build/libnicehash-api-cpp.so)
{'fraction_non_alphanumeric': 0.1065989847715736, 'fraction_numerical': 0.008460236886632826, 'mean_word_length': 5.646067415730337, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6598202', 'n_tokens_mistral': 454, 'n_tokens_neox': 427, 'n_words': 46}