Many changes just look at the new documentation and such

This commit is contained in:
Andrew Haynes
2026-08-31 22:18:42 -04:00
parent 5367c71c34
commit 854f5c2ba6
7 changed files with 139 additions and 47 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.16)
project(image_processor LANGUAGES C)
project(libimg LANGUAGES C)
set(CMAKE_C_STANDARD 23)
set(CMAKE_C_STANDARD_REQUIRED ON)
@@ -31,6 +31,6 @@ target_link_libraries(PROCESSOR PUBLIC PkgConfig::TURBOJPEG)
set_target_properties(PROCESSOR PROPERTIES EXPORT_NAME PROCESSOR)
if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
add_executable(image_processor src/main.c) # Assuming you have a main.c
target_link_libraries(image_processor PRIVATE PROCESSOR)
add_executable(libimg src/main.c) # Assuming you have a main.c
target_link_libraries(libimg PRIVATE PROCESSOR)
endif()