<commit_before>project(TestBison)
cmake_minimum_required(VERSION 2.8.12)

include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup()

# Find BISON in the Conan path
set(CMAKE_PREFIX_PATH ${CONAN_BISON_ROOT} ${CMAKE_PREFIX_PATH})
find_package(BISON)

# Add a test grammar
BISON_TARGET(test-bison mfcalc.y ${CMAKE_CURRENT_BINARY_DIR}/mfcalc.c VERBOSE ${CMAKE_CURRENT_BINARY_DIR}/mfcalc.output)
message(STATUS "Bison executable: ${BISON_EXECUTABLE}")

include_directories( "." )
include_directories( "${CMAKE_CURRENT_BINARY_DIR}" )
add_executable(test-bison ${BISON_test-bison_OUTPUTS})<commit_msg>Add math library to test package linking<commit_after>project(TestBison)
cmake_minimum_required(VERSION 2.8.12)

include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup()

# Find BISON in the Conan path
set(CMAKE_PREFIX_PATH ${CONAN_BISON_ROOT} ${CMAKE_PREFIX_PATH})
find_package(BISON)

# Add a test grammar
BISON_TARGET(test-bison mfcalc.y ${CMAKE_CURRENT_BINARY_DIR}/mfcalc.c VERBOSE ${CMAKE_CURRENT_BINARY_DIR}/mfcalc.output)
message(STATUS "Bison executable: ${BISON_EXECUTABLE}")

include_directories( "." )
include_directories( "${CMAKE_CURRENT_BINARY_DIR}" )
add_executable(test-bison ${BISON_test-bison_OUTPUTS})
target_link_libraries(test-bison m)
{'fraction_non_alphanumeric': 0.11372549019607843, 'fraction_numerical': 0.006274509803921568, 'mean_word_length': 9.813559322033898, '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': '2823435', 'n_tokens_mistral': 508, 'n_tokens_neox': 472, 'n_words': 73}