Skip to content

Instantly share code, notes, and snippets.

@yasuharu519
Created January 13, 2015 17:39
Show Gist options
  • Save yasuharu519/eea3429db10320df7983 to your computer and use it in GitHub Desktop.
Save yasuharu519/eea3429db10320df7983 to your computer and use it in GitHub Desktop.
CMakeLists file for dropbox/json11 https://github.com/dropbox/json11
cmake_minimum_required(VERSION 2.8)
add_definitions("-Wall -std=c++11")
add_library(json11 STATIC json11.cpp)
install(TARGETS json11 ARCHIVE DESTINATION lib LIBRARY DESTINATION lib)
install(FILES json11.hpp DESTINATION include)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment