2025-07-05 05:31:16 +02:00
|
|
|
cmake_minimum_required(VERSION 3.31)
|
|
|
|
project(lily_png)
|
|
|
|
|
|
|
|
set(CMAKE_CXX_STANDARD 23)
|
|
|
|
|
|
|
|
add_subdirectory(file_reader)
|
2025-07-17 22:12:17 +02:00
|
|
|
target_include_directories(file_read INTERFACE "file_reader")
|
2025-07-06 14:28:35 +02:00
|
|
|
find_package(ZLIB)
|
2025-07-05 05:31:16 +02:00
|
|
|
|
2025-07-17 05:18:26 +02:00
|
|
|
add_library(lily_png STATIC src/lily_png.cpp
|
|
|
|
src/metadata.cpp
|
|
|
|
src/metadata.h
|
|
|
|
src/utils.cpp
|
|
|
|
src/utils.h
|
|
|
|
src/filter.cpp
|
2025-07-18 08:04:42 +02:00
|
|
|
src/filter.h
|
|
|
|
src/convert.cpp
|
2025-07-27 22:48:12 +02:00
|
|
|
src/convert.h
|
|
|
|
src/ascii.cpp
|
|
|
|
src/ascii.h)
|
2025-07-17 22:12:17 +02:00
|
|
|
target_link_libraries(lily_png PRIVATE file_read ZLIB::ZLIB)
|
2025-07-05 05:31:16 +02:00
|
|
|
|