Skip to content

Commit

Permalink
Merge pull request #6 from wsnipex/master
Browse files Browse the repository at this point in the history
depends: add jsoncpp
  • Loading branch information
wsnipex committed Mar 25, 2015
2 parents 2eda03c + 1f4ff0c commit ebe7e58
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions depends/common/jsoncpp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
project(jsoncpp)

cmake_minimum_required(VERSION 2.6)
enable_language(CXX)

set(SOURCES src/lib_json/json_reader.cpp
src/lib_json/json_value.cpp
src/lib_json/json_writer.cpp)

include_directories(${PROJECT_SOURCE_DIR}/include)

add_library(jsoncpp ${SOURCES})

install(TARGETS jsoncpp DESTINATION ${CMAKE_INSTALL_PREFIX}/lib)
install(DIRECTORY include/json DESTINATION ${CMAKE_INSTALL_PREFIX}/include/jsoncpp)
1 change: 1 addition & 0 deletions depends/common/jsoncpp/jsoncpp.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
jsoncpp http://garr.dl.sourceforge.net/project/jsoncpp/jsoncpp/0.5.0/jsoncpp-src-0.5.0.tar.gz

0 comments on commit ebe7e58

Please sign in to comment.