work in progress, cleaned up the directories and split them up into folder which make more sense, Still need to compile libvitaboy and all the tools

This commit is contained in:
Jip 2024-05-13 18:38:21 +02:00
parent 66ce473514
commit 948bd8474c
1786 changed files with 571812 additions and 15332 deletions

29
deps/libpng/CMakeLists.txt vendored Normal file
View file

@ -0,0 +1,29 @@
cmake_minimum_required(VERSION 2.6...3.29)
project(libpng)
set(LIBPNG_SOURCES
png.c
pngerror.c
pngget.c
pngmem.c
pngpread.c
pngread.c
pngrio.c
pngrtran.c
pngrutil.c
pngset.c
pngtrans.c
pngwio.c
pngwrite.c
pngwtran.c
pngwutil.c
)
file(GLOB_RECURSE LIBPNG_HEADERS *.h)
include_directories(${zlib_SOURCE_DIR})
add_library(libpng STATIC ${LIBPNG_SOURCES} ${LIBPNG_HEADERS}) # remove static, cmake should take care of that
target_include_directories(libpng PUBLIC ${LIBPNG_HEADERS})
target_link_libraries(libpng zlib)
set_target_properties(libpng PROPERTIES FOLDER deps)