wordreference/libjson/CMakeLists.txt

30 lines
904 B
Text
Raw Permalink Normal View History

2013-08-15 17:50:49 +00:00
project (libjson CXX)
set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DJSON_DEBUG")
set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O2 -g -ffast-math -fexpensive-optimizations")
2013-08-15 17:50:49 +00:00
set (CMAKE_CXX_FLAGS_FINAL "${CMAKE_CXX_FLAGS_FINAL} -O3 -ffast-math -fexpensive-optimizations")
set (major_version "7")
set (minor_version "6.1")
include_directories(
.
_internal/Source
)
add_library(${PROJECT_NAME} STATIC
_internal/Source/JSONAllocator.cpp
_internal/Source/JSONChildren.cpp
_internal/Source/JSONDebug.cpp
_internal/Source/JSONIterators.cpp
_internal/Source/JSONMemory.cpp
_internal/Source/JSONNode.cpp
_internal/Source/JSONNode_Mutex.cpp
_internal/Source/JSONPreparse.cpp
_internal/Source/JSONStream.cpp
_internal/Source/JSONValidator.cpp
_internal/Source/JSONWorker.cpp
_internal/Source/JSONWriter.cpp
_internal/Source/internalJSONNode.cpp
_internal/Source/libjson.cpp
)