Skip to content

Instantly share code, notes, and snippets.

@thewtex
Created September 24, 2013 21:50
Show Gist options
  • Save thewtex/6691805 to your computer and use it in GitHub Desktop.
Save thewtex/6691805 to your computer and use it in GitHub Desktop.
Test JsonCpp project.
cmake_minimum_required( VERSION 2.8 )
project( uses-jsoncpp )
find_package( jsoncpp REQUIRED )
include_directories( ${jsoncpp_INCLUDE_DIRS} )
add_executable( uses-jsoncpp main.cpp )
target_link_libraries( uses-jsoncpp ${jsoncpp_LIBRARIES} )
#include "json/json.h"
int main( int argc, char * argv[] )
{
Json::Value value;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment