V1 Readme + rangement
This commit is contained in:
parent
3300e0efd3
commit
406e6d9b5d
1339 changed files with 248781 additions and 4282 deletions
19
asift_gen/io_png/libs/png/CMakeLists.txt
Executable file
19
asift_gen/io_png/libs/png/CMakeLists.txt
Executable file
|
@ -0,0 +1,19 @@
|
|||
PROJECT(png)
|
||||
|
||||
SET(PNG_SRCS
|
||||
pngget.c pngrio.c pngwrite.c png.c pngmem.c pngrtran.c pngtrans.c
|
||||
pngwtran.c pngerror.c pngpread.c pngrutil.c pngvcrd.c pngwutil.c pnggccrd.c
|
||||
pngread.c pngset.c pngwio.c pngconf.h png.h
|
||||
)
|
||||
|
||||
IF (WIN32)
|
||||
ADD_DEFINITIONS(-DPNG_STATIC)
|
||||
# TODO(keir): I don't know why, but CMake *refuses* to add this to the
|
||||
# command line flags. After much frustration, I am giving up and leaving the
|
||||
# compile errors. Please, someone who knows CMake, try to fix this.
|
||||
SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4996")
|
||||
ENDIF (WIN32)
|
||||
|
||||
INCLUDE_DIRECTORIES(../zlib)
|
||||
ADD_LIBRARY(png ${PNG_SRCS} )
|
||||
TARGET_LINK_LIBRARIES(png zlib)
|
Loading…
Add table
Add a link
Reference in a new issue