[DEV] add CMake instance

This commit is contained in:
Edouard DUPIN 2014-02-24 21:50:50 +01:00
parent 6e0a9a2e2d
commit c0d9b148c0

View File

@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 2.6)
# Declare the project
project(libpng)
project(png)
# set output path:
set(LIBRARY_OUTPUT_PATH lib/${CMAKE_BUILD_TYPE})
@ -27,5 +27,8 @@ set(src_files
png/wutil.c
)
add_definitions( -DDEBUG_LEVEL=3 )
add_definitions( -DDEBUG=1 )
#Create a static Lib:
add_library(png STATIC ${src_files} )