From c0d9b148c08d28a1707959f6d425bc8bb93da895 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Mon, 24 Feb 2014 21:50:50 +0100 Subject: [PATCH] [DEV] add CMake instance --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b05a508..ba05a2e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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} )