[DEV] add CMake instance
This commit is contained in:
parent
6e0a9a2e2d
commit
c0d9b148c0
@ -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} )
|
||||
|
Loading…
x
Reference in New Issue
Block a user