<commit_before># -*- Mode:cmake -*-

####################################################################################################
#                                                                                                  #
# Copyright (C) 2016 University of Hull                                                            #
#                                                                                                  #
####################################################################################################

cmake_minimum_required(VERSION 3.0 FATAL_ERROR)

project(HUGH_SUPPORT VERSION 0.1.0)

if(DEFINED ENV{HUGH_INSTALL_PREFIX})
  set(HUGH_INSTALL_PREFIX $ENV{HUGH_INSTALL_PREFIX} CACHE INTERNAL "")
endif()

list(APPEND CMAKE_MODULE_PATH ${HUGH_INSTALL_PREFIX}/share/hugh/cmake)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)

include(CheckOutOfTreeBuild)
include(SetupInitialCache)
include(SetupBuildType)
include(SetupInstallPrefix)
include(SetupPlatformAndArchitecture)
include(SetupFunctionsAndMacros)

cma_print_current_directory()

include(SetupCompilerDefaults)
include(SetupProjectDefaults)
include(SetupUnitTests)

include_directories(${CMAKE_SOURCE_DIR}/inc)
include_directories(${CMAKE_BINARY_DIR}/exports)

add_subdirectory(share)
add_subdirectory(src)

include(ShowConfigSummary)
# keep last
include(SetupPackaging)
<commit_msg>fixed: relative -> absolute path for HUGH_INSTALL_PEFIX<commit_after># -*- Mode:cmake -*-

####################################################################################################
#                                                                                                  #
# Copyright (C) 2016 University of Hull                                                            #
#                                                                                                  #
####################################################################################################

cmake_minimum_required(VERSION 3.0 FATAL_ERROR)

project(HUGH_SUPPORT VERSION 0.1.0)

if(DEFINED ENV{HUGH_INSTALL_PREFIX})
  get_filename_component(dir $ENV{HUGH_INSTALL_PREFIX} ABSOLUTE BASE_DIR ${CMAKE_BINARY_DIR})
  set(HUGH_INSTALL_PREFIX ${dir} CACHE INTERNAL "HUGH Installation Root")
endif()

list(APPEND CMAKE_MODULE_PATH ${HUGH_INSTALL_PREFIX}/share/hugh/cmake)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)

include(CheckOutOfTreeBuild)
include(SetupInitialCache)
include(SetupBuildType)
include(SetupInstallPrefix)
include(SetupPlatformAndArchitecture)
include(SetupFunctionsAndMacros)

cma_print_current_directory()

include(SetupCompilerDefaults)
include(SetupProjectDefaults)
include(SetupUnitTests)

include_directories(${CMAKE_SOURCE_DIR}/inc)
include_directories(${CMAKE_BINARY_DIR}/exports)

add_subdirectory(share)
add_subdirectory(src)

include(ShowConfigSummary)
# keep last
include(SetupPackaging)

{'fraction_non_alphanumeric': 0.20534796023311622, 'fraction_numerical': 0.0061707233459033254, 'mean_word_length': 3.235123367198839, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 20, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2074803', 'n_tokens_mistral': 769, 'n_tokens_neox': 697, 'n_words': 103}