cmake_minimum_required(VERSION 3.22)

project(Phoenix)

find_package(PhoenixCMake REQUIRED)

set(PROJECT_VERSION "1.18.0") # this line is updated by semantic release using regex

phoenix_base_project("PhoenixCore" "${PROJECT_VERSION}"
		"Set of tools to simplify string manipulation"
		"https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/system/PhoenixCore")

phoenix_include_directories(
	${CMAKE_CURRENT_SOURCE_DIR}
	${CMAKE_CURRENT_BINARY_DIR}
	${CMAKE_CURRENT_SOURCE_DIR}/src
)

phoenix_create_find(PhoenixCore phoenix_core PString.h "")

phoenix_add_subdirectory(src)

phoenix_tests()

