<commit_before>cmake_minimum_required(VERSION 3.5)
project(draco C CXX)

set(draco_root "${CMAKE_CURRENT_SOURCE_DIR}")
set(draco_src_root "${draco_root}/src/draco")
set(draco_build_dir "${CMAKE_BINARY_DIR}")

if ("${draco_root}" STREQUAL "${draco_build_dir}")
  message(FATAL_ERROR
          "Building from within the Draco source tree is not supported.\n"
          "Hint: mkdir -p ../draco_build && cd ../draco_build\n"
          "Run cmake from there.")
endif ()

include(CMakePackageConfigHelpers)
include("${draco_root}/cmake/compiler_flags.cmake")
include("${draco_root}/cmake/util.cmake")

# Draco requires C++11 support.
require_cxx_flag_nomsvc("-std=c++11" YES)<commit_msg>Change Cmake hint so building will work<commit_after>cmake_minimum_required(VERSION 3.5)
project(draco C CXX)

set(draco_root "${CMAKE_CURRENT_SOURCE_DIR}")
set(draco_src_root "${draco_root}/src/draco")
set(draco_build_dir "${CMAKE_BINARY_DIR}")

if ("${draco_root}" STREQUAL "${draco_build_dir}")
  message(FATAL_ERROR
          "Building from within the Draco source tree is not supported.\n"
          "Hint: mkdir -p draco_build && cd draco_build\n"
          "Run cmake from there.")
endif ()

include(CMakePackageConfigHelpers)
include("${draco_root}/cmake/compiler_flags.cmake")
include("${draco_root}/cmake/util.cmake")

# Draco requires C++11 support.
require_cxx_flag_nomsvc("-std=c++11" YES)
{'fraction_non_alphanumeric': 0.1416184971098266, 'fraction_numerical': 0.008670520231213872, 'mean_word_length': 5.502347417840376, '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': '5165574', 'n_tokens_mistral': 516, 'n_tokens_neox': 504, 'n_words': 97}