<commit_before>cmake_minimum_required(VERSION 2.8)

project(patchmatrix)

set(CMAKE_C_FLAGS "-std=gnu11 -Wextra -Wno-unused-parameter -ffast-math -fvisibility=hidden ${CMAKE_C_FLAGS}")
set(CMAKE_C_FLAGS "-Wshadow -Wimplicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes ${CMAKE_C_FLAGS}")
add_definitions("-D_GNU_SOURCE=1") # asprintf

set(LIBS "")
include_directories(${PROJECT_SOURCE_DIR})
include_directories(${PROJECT_SOURCE_DIR}/libosc)
include_directories(${PROJECT_SOURCE_DIR}/jackey)
include_directories(${PROJECT_SOURCE_DIR}/varchunk)

# paths
set(PATCHMATRIX_BIN_DIR "bin")
set(PATCHMATRIX_ICON_DIR "share/icons/hicolor/256x256/apps")
set(PATCHMATRIX_DESKTOP_DIR "share/applications")
set(PATCHMATRIX_DATA_DIR "share/patchmatrix")
add_definitions("-DPATCHMATRIX_DATA_DIR=\"${CMAKE_INSTALL_PREFIX}/${PATCHMATRIX_DATA_DIR}\"")

# version
set(PATCHMATRIX_MAJOR_VERSION 0)
set(PATCHMATRIX_MINOR_VERSION 2)
set(PATCHMATRIX_MICRO_VERSION 0)
set(PATCHMATRIX_VERSION "${PATCHMATRIX_MAJOR_VERSION}.${PATCHMATRIX_MINOR_VERSION}.${PATCHMATRIX_MICRO_VERSION}")
add_definitions("-DPATCHMATRIX_VERSION=\"${PATCHMATRIX_VERSION}\"")

# pkg-config
find_package(PkgConfig) # ${PKG_CONFIG_FOUND}

# LV2
pkg_search_module(LV2 REQUIRED lv2)
include_directories(${LV2_INCLUDE_DIRS})

# jack
pkg_search_module(JACK REQUIRED jack)<commit_msg>bump version.<commit_after>cmake_minimum_required(VERSION 2.8)

project(patchmatrix)

set(CMAKE_C_FLAGS "-std=gnu11 -Wextra -Wno-unused-parameter -ffast-math -fvisibility=hidden ${CMAKE_C_FLAGS}")
set(CMAKE_C_FLAGS "-Wshadow -Wimplicit-function-declaration -Wmissing-prototypes -Wstrict-prototypes ${CMAKE_C_FLAGS}")
add_definitions("-D_GNU_SOURCE=1") # asprintf

set(LIBS "")
include_directories(${PROJECT_SOURCE_DIR})
include_directories(${PROJECT_SOURCE_DIR}/libosc)
include_directories(${PROJECT_SOURCE_DIR}/jackey)
include_directories(${PROJECT_SOURCE_DIR}/varchunk)

# paths
set(PATCHMATRIX_BIN_DIR "bin")
set(PATCHMATRIX_ICON_DIR "share/icons/hicolor/256x256/apps")
set(PATCHMATRIX_DESKTOP_DIR "share/applications")
set(PATCHMATRIX_DATA_DIR "share/patchmatrix")
add_definitions("-DPATCHMATRIX_DATA_DIR=\"${CMAKE_INSTALL_PREFIX}/${PATCHMATRIX_DATA_DIR}\"")

# version
set(PATCHMATRIX_MAJOR_VERSION 0)
set(PATCHMATRIX_MINOR_VERSION 2)
set(PATCHMATRIX_MICRO_VERSION 1)
set(PATCHMATRIX_VERSION "${PATCHMATRIX_MAJOR_VERSION}.${PATCHMATRIX_MINOR_VERSION}.${PATCHMATRIX_MICRO_VERSION}")
add_definitions("-DPATCHMATRIX_VERSION=\"${PATCHMATRIX_VERSION}\"")

# pkg-config
find_package(PkgConfig) # ${PKG_CONFIG_FOUND}

# LV2
pkg_search_module(LV2 REQUIRED lv2)
include_directories(${LV2_INCLUDE_DIRS})

# jack
pkg_search_module(JACK REQUIRED jack)
{'fraction_non_alphanumeric': 0.1253720238095238, 'fraction_numerical': 0.013392857142857142, 'mean_word_length': 11.391705069124423, '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': '5471937', 'n_tokens_mistral': 1111, 'n_tokens_neox': 1063, 'n_words': 110}