[DEV] cmake file update
This commit is contained in:
parent
cd7251e112
commit
db2626136b
@ -63,6 +63,19 @@ set(src_files
|
|||||||
include_directories(${etk_SOURCE_DIR})
|
include_directories(${etk_SOURCE_DIR})
|
||||||
include_directories(${linearmath_SOURCE_DIR}/bullet/src/)
|
include_directories(${linearmath_SOURCE_DIR}/bullet/src/)
|
||||||
|
|
||||||
|
|
||||||
|
add_definitions( -DDEBUG_LEVEL=3 )
|
||||||
|
add_definitions( -DDEBUG=1 )
|
||||||
|
if (APPLE)
|
||||||
|
add_definitions( -D__TARGET_OS__MacOs )
|
||||||
|
elseif (UNIX)
|
||||||
|
add_definitions( -D__TARGET_OS__Linux )
|
||||||
|
elseif (WIN32)
|
||||||
|
add_definitions( -D__TARGET_OS__Windows )
|
||||||
|
endif ()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#Create a static Lib:
|
#Create a static Lib:
|
||||||
add_library(agg STATIC ${src_files} )
|
add_library(agg STATIC ${src_files} )
|
||||||
include_directories(${freetype_SOURCE_DIR})
|
include_directories(${freetype_SOURCE_DIR})
|
||||||
|
@ -370,8 +370,6 @@ void draw::parseColor(const char* _input, struct agg::rgba8& color)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const char* inputData = _input;
|
const char* inputData = _input;
|
||||||
uint32_t _red, _green, _blue, _alpha;
|
|
||||||
float fred, fgreen, fblue, falpha;
|
|
||||||
size_t len = strlen(_input);
|
size_t len = strlen(_input);
|
||||||
|
|
||||||
if( len >=1
|
if( len >=1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user