Created
September 24, 2013 21:50
-
-
Save thewtex/6691805 to your computer and use it in GitHub Desktop.
Test JsonCpp project.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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