Skip to content

C/C++ cmake library for digital image processing without external libraries apart from the png and zlib libraries

License

MIT and 2 other licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.pnglib
Unknown
LICENSE.zlib
Notifications You must be signed in to change notification settings

lenoben/image-processing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image-processing

Settıng the lıb up for a cmake executable project

  • clone this repo in you seperate directory
  • cd into the directory and create a build directory
  • run this cmake command
     cmake -DCMAKE_INSTALL_PREFIX=<project-root>/deps ..
     make install

cmake exe project

# Include directories for headers
include_directories(${CMAKE_SOURCE_DIR}/deps/include)

# Add zlib and libpng subdirectories
add_subdirectory(${CMAKE_SOURCE_DIR}/deps/include/zlib/)
add_subdirectory(${CMAKE_SOURCE_DIR}/deps/include/png/)

# Include directories for zlib and libpng
include_directories(${CMAKE_SOURCE_DIR}/deps/include/zlib/)
include_directories(${CMAKE_SOURCE_DIR}/deps/include/png/)

# Add the path to the libraries
set(LIBRARY_PATH "${CMAKE_SOURCE_DIR}/deps/lib")

# Link against the static libraries directly from the dependency folder
target_link_libraries(YOUR-EXE PRIVATE
    ${LIBRARY_PATH}/libapp.a
    zlib_static png_static
)

About

C/C++ cmake library for digital image processing without external libraries apart from the png and zlib libraries

Topics

Resources

License

MIT and 2 other licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.pnglib
Unknown
LICENSE.zlib

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published