<commit_before>find_package("TacentProjectUtilities" REQUIRED)
project(Image VERSION ${TACENT_VERSION} LANGUAGES CXX)

add_subdirectory(Contrib/CxImage)

add_library(
	${PROJECT_NAME}
	Src/tCubemap.cpp
	Src/tImageAPNG.cpp
	Src/tImageDDS.cpp
	Src/tImageEXR.cpp
	Src/tImageGIF.cpp
	Src/tImageHDR.cpp
	Src/tImageICO.cpp
	Src/tImageJPG.cpp
	Src/tImagePNG.cpp
	Src/tImageTGA.cpp
	Src/tImageWEBP.cpp
	Src/tImageXPM.cpp
	Src/tLayer.cpp
	Src/tPicture.cpp
	Src/tPixelFormat.cpp
	Src/tTexture.cpp
	Src/tResample.cpp
	Inc/Image/tCubemap.h
	Inc/Image/tImageAPNG.h
	Inc/Image/tImageDDS.h
	Inc/Image/tImageEXR.h
	Inc/Image/tImageGIF.h
	Inc/Image/tImageHDR.h
	Inc/Image/tImageICO.h
	Inc/Image/tImageJPG.h
	Inc/Image/tImagePNG.h
	Inc/Image/tImageTGA.h
	Inc/Image/tImageWEBP.h
	Inc/Image/tImageXPM.h
	Inc/Image/tLayer.h
	Inc/Image/tPicture.h
	Inc/Image/tPixelFormat.h
	Inc/Image/tTexture.h
	Inc/Image/tResample.h
	
	# OpenEXR
	Contrib/OpenEXR/loadImage.h
	Contrib/OpenEXR/loadImage.cpp

	# ApngDis
	Contrib/ApngDis/apngdis.h
	Contrib/ApngDis/apngdis.cpp
)

tacent_target_include_directories(${PROJECT_NAME})
target_include_directories(
	"${PROJECT_NAME}"
	PRIVATE
		${CMAKE_CURRENT_SOURCE_DIR}/Contrib
		${CMAKE_CURRENT_SOURCE_DIR}/Contrib/ZLib/include
		${CMAKE_CURRENT_SOURCE_DIR}/Contrib/OpenEXR/include
		${CMAKE_CURRENT_SOURCE_DIR}/Contrib/OpenEXR/include/OpenEXR
		${CMAKE_CURRENT_SOURCE_DIR}/Contrib/LibPNG/include
		${CMAKE_CURRENT_SOURCE_DIR}/Contrib/ApngDis
)
<commit_msg>Added Image/Contrib to the install interface include directories.<commit_after>find_package("TacentProjectUtilities" REQUIRED)
project(Image VERSION ${TACENT_VERSION} LANGUAGES CXX)

add_subdirectory(Contrib/CxImage)

add_library(
	${PROJECT_NAME}
	Src/tCubemap.cpp
	Src/tImageAPNG.cpp
	Src/tImageDDS.cpp
	Src/tImageEXR.cpp
	Src/tImageGIF.cpp
	Src/tImageHDR.cpp
	Src/tImageICO.cpp
	Src/tImageJPG.cpp
	Src/tImagePNG.cpp
	Src/tImageTGA.cpp
	Src/tImageWEBP.cpp
	Src/tImageXPM.cpp
	Src/tLayer.cpp
	Src/tPicture.cpp
	Src/tPixelFormat.cpp
	Src/tTexture.cpp
	Src/tResample.cpp
	Inc/Image/tCubemap.h
	Inc/Image/tImageAPNG.h
	Inc/Image/tImageDDS.h
	Inc/Image/tImageEXR.h
	Inc/Image/tImageGIF.h
	Inc/Image/tImageHDR.h
	Inc/Image/tImageICO.h
	Inc/Image/tImageJPG.h
	Inc/Image/tImagePNG.h
	Inc/Image/tImageTGA.h
	Inc/Image/tImageWEBP.h
	Inc/Image/tImageXPM.h
	Inc/Image/tLayer.h
	Inc/Image/tPicture.h
	Inc/Image/tPixelFormat.h
	Inc/Image/tTexture.h
	Inc/Image/tResample.h
	
	# OpenEXR
	Contrib/OpenEXR/loadImage.h
	Contrib/OpenEXR/loadImage.cpp

	# ApngDis
	Contrib/ApngDis/apngdis.h
	Contrib/ApngDis/apngdis.cpp
)

tacent_target_include_directories(${PROJECT_NAME})
target_include_directories(
	"${PROJECT_NAME}"

	# PRIVATE is for building only. Populates INCLUDE_DIRECTORIES
	# INTERFACE is for users of the library. Populates INTERFACE_INCLUDE_DIRECTORIES
	# PUBLIC means both building and for users of the lib. Populates both.
	PUBLIC
		$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/Contrib>
		$<INSTALL_INTERFACE:Contrib>
	PRIVATE
		${CMAKE_CURRENT_SOURCE_DIR}/Contrib/ZLib/include
		${CMAKE_CURRENT_SOURCE_DIR}/Contrib/OpenEXR/include
		${CMAKE_CURRENT_SOURCE_DIR}/Contrib/OpenEXR/include/OpenEXR
		${CMAKE_CURRENT_SOURCE_DIR}/Contrib/LibPNG/include
		${CMAKE_CURRENT_SOURCE_DIR}/Contrib/ApngDis
)

{'fraction_non_alphanumeric': 0.10650705954573358, 'fraction_numerical': 0.0, 'mean_word_length': 5.12593984962406, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '214325', 'n_tokens_mistral': 1486, 'n_tokens_neox': 1398, 'n_words': 157}