<commit_before>cmake_minimum_required(VERSION 3.6)
project(glurg)

find_package(PkgConfig REQUIRED)

find_package(Boost REQUIRED)
find_package(Snappy REQUIRED)
pkg_search_module(Sodium REQUIRED libsodium)

set(LIBGLURG_INCLUDE_FILES
	"include/glurg/resources/resource.hpp"
	"include/glurg/resources/textureResource.hpp"
	"include/glurg/common/fileStream.hpp"
	"include/glurg/common/hash.hpp"
	"include/glurg/common/simpleFileStream.hpp"
	"include/glurg/common/snappyAdapter.hpp"
	"include/glurg/trace/bitmaskSignature.hpp"
	"include/glurg/trace/callSignature.hpp"
	"include/glurg/trace/enumerationSignature.hpp"
	"include/glurg/trace/traceFile.hpp")

set(LIBGLURG_SOURCE_FILES
	"source/resources/textureResource.cpp"
	"source/common/hash.cpp"
	"source/common/simpleFileStream.cpp"
	"source/common/snappyAdapter.cpp"
	"source/trace/bitmaskSignature.cpp"
	"source/trace/callSignature.cpp"
	"source/trace/enumerationSignature.cpp"
	"source/trace/events.cpp"
	"source/trace/traceFile.cpp"
	"source/trace/values.cpp")

set(LIBGLURG_INCLUDE_DIRS
	"include")

add_library(libglurg SHARED
	${LIBGLURG_INCLUDE_FILES}
	${LIBGLURG_SOURCE_FILES})

set_target_properties(libglurg PROPERTIES LINKER_LANGUAGE CXX)

target_include_directories(libglurg
	PUBLIC
	${LIBGLURG_INCLUDE_DIRS})

target_include_directories(libglurg
	PRIVATE
	${Boost_INCLUDE_DIRS}
	${Snappy_INCLUDE_DIRS}
	${Sodium_INCLUDE_DIRS})

target_link_libraries(libglurg PUBLIC<commit_msg>Updated CMakeLists after adding glurg::Call<commit_after>cmake_minimum_required(VERSION 3.6)
project(glurg)

find_package(PkgConfig REQUIRED)

find_package(Boost REQUIRED)
find_package(Snappy REQUIRED)
pkg_search_module(Sodium REQUIRED libsodium)

set(LIBGLURG_INCLUDE_FILES
	"include/glurg/resources/resource.hpp"
	"include/glurg/resources/textureResource.hpp"
	"include/glurg/common/fileStream.hpp"
	"include/glurg/common/hash.hpp"
	"include/glurg/common/simpleFileStream.hpp"
	"include/glurg/common/snappyAdapter.hpp"
	"include/glurg/trace/bitmaskSignature.hpp"
	"include/glurg/trace/callSignature.hpp"
	"include/glurg/trace/enumerationSignature.hpp"
	"include/glurg/trace/traceFile.hpp")

set(LIBGLURG_SOURCE_FILES
	"source/resources/textureResource.cpp"
	"source/common/hash.cpp"
	"source/common/simpleFileStream.cpp"
	"source/common/snappyAdapter.cpp"
	"source/trace/bitmaskSignature.cpp"
	"source/trace/call.cpp"
	"source/trace/callSignature.cpp"
	"source/trace/enumerationSignature.cpp"
	"source/trace/events.cpp"
	"source/trace/traceFile.cpp"
	"source/trace/values.cpp")

set(LIBGLURG_INCLUDE_DIRS
	"include")

add_library(libglurg SHARED
	${LIBGLURG_INCLUDE_FILES}
	${LIBGLURG_SOURCE_FILES})

set_target_properties(libglurg PROPERTIES LINKER_LANGUAGE CXX)

target_include_directories(libglurg
	PUBLIC
	${LIBGLURG_INCLUDE_DIRS})

target_include_directories(libglurg
	PRIVATE
	${Boost_INCLUDE_DIRS}
	${Snappy_INCLUDE_DIRS}
	${Sodium_INCLUDE_DIRS})

target_link_libraries(libglurg PUBLIC
{'fraction_non_alphanumeric': 0.11217183770883055, 'fraction_numerical': 0.0013637913399249914, 'mean_word_length': 7.732142857142857, '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': '4002754', 'n_tokens_mistral': 1174, 'n_tokens_neox': 1108, 'n_words': 112}