Skip to content

Commit a64ead3

Browse files
committed
put back image libs
1 parent 88ae118 commit a64ead3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+44493
-0
lines changed

libs/image/png/linux/32/libpng.a

246 KB
Binary file not shown.

libs/image/png/linux/64/libpng.a

309 KB
Binary file not shown.

libs/image/png/mac/64/libpng.a

275 KB
Binary file not shown.

libs/image/png/src/CMakeLists.txt

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
cmake_minimum_required(VERSION 3.5+)
2+
project(png)
3+
4+
set(CMAKE_CXX_STANDARD 98)
5+
6+
get_filename_component(PARENT_DIR ../.. ABSOLUTE)
7+
set ( ZLIB_SUBDIR ${PARENT_DIR}/zlib/src)
8+
9+
set(PNG_SOURCE_FILES
10+
png.c
11+
png.h
12+
pngconf.h
13+
pngerror.c
14+
pnggccrd.c
15+
pngget.c
16+
pngmem.c
17+
pngpread.c
18+
pngread.c
19+
pngrio.c
20+
pngrtran.c
21+
pngrutil.c
22+
pngset.c
23+
pngtrans.c
24+
pngvcrd.c
25+
pngwio.c
26+
pngwrite.c
27+
pngwtran.c
28+
pngwutil.c
29+
)
30+
include_directories("${ZLIB_SUBDIR}")
31+
32+
add_library(${PROJECT_NAME} STATIC ${PNG_SOURCE_FILES})
33+
target_link_libraries(png zlib ${ZLIB_SUBDIR}/libzlib.a)

0 commit comments

Comments
 (0)