mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-10-15 16:03:37 -04:00
managed to get the projects compiling, jpg has been disabled for now and I wasn't able to test the runtime until I can get my hands on the files required by libgldemo
This commit is contained in:
parent
a380de3a44
commit
b99359078e
601 changed files with 334759 additions and 69 deletions
43
library/deps/libpng/CMakeLists.txt
Normal file
43
library/deps/libpng/CMakeLists.txt
Normal file
|
@ -0,0 +1,43 @@
|
|||
cmake_minimum_required(VERSION 2.6)
|
||||
project(libpng)
|
||||
|
||||
set(LIBPNG_SERIES 1)
|
||||
set(LIBPNG_MAJOR 5)
|
||||
set(LIBPNG_MINOR 11)
|
||||
|
||||
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
|
||||
)
|
||||
|
||||
include_directories(${ZLIB_INCLUDE})
|
||||
|
||||
add_library(libpng_static STATIC ${LIBPNG_SOURCES})
|
||||
set_target_properties(libpng_static PROPERTIES
|
||||
OUTPUT_NAME "png${LIBPNG_SERIES}${LIBPNG_MAJOR}"
|
||||
PREFIX "lib"
|
||||
IMPORT_PREFIX "lib"
|
||||
CLEAN_DIRECT_OUTPUT 1)
|
||||
|
||||
#### Shared library (uncomment to build)
|
||||
#add_library(libpng_shared SHARED ${LIBPNG_SOURCES})
|
||||
#set_target_properties(libpng_shared PROPERTIES
|
||||
# OUTPUT_NAME "png${LIBPNG_SERIES}${LIBPNG_MAJOR}"
|
||||
# VERSION ${LIBPNG_SERIES}.${LIBPNG_MAJOR}.${LIBPNG_MINOR}
|
||||
# PREFIX "lib"
|
||||
# IMPORT_PREFIX "lib"
|
||||
# CLEAN_DIRECT_OUTPUT 1)
|
||||
#target_link_libraries(libpng_shared zlib_shared m)
|
Loading…
Add table
Add a link
Reference in a new issue