Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2,224 changed files
with
82,229 additions
and
31,495 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
BasedOnStyle: LLVM | ||
|
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# - Find jsoncpp include dirs and libraries | ||
# Use this module by invoking find_package with the form: | ||
# find_package(JsonCPP [required] [quiet] ) | ||
# | ||
# The module sets the following variables | ||
# JSONCPP_FOUND - True if headers and libraries were found | ||
# JSONCPP_INCLUDE_DIR - jsoncpp include directories | ||
# JSONCPP_LIBRARY - library files for linking (optimised version) | ||
# JSONCPP_LIBRARY_DEBUG - library files for linking (debug version) | ||
# JSONCPP_LIBRARIES - All required libraries, including the configuration type | ||
|
||
# Headers | ||
find_path ( JSONCPP_INCLUDE_DIR jsoncpp/json/json.h ) | ||
|
||
# Libraries | ||
find_library ( JSONCPP_LIBRARY NAMES jsoncpp ) # optimized | ||
find_library ( JSONCPP_LIBRARY_DEBUG NAMES jsoncpp_d ) # debug | ||
|
||
if ( JSONCPP_LIBRARY AND JSONCPP_LIBRARY_DEBUG ) | ||
set ( JSONCPP_LIBRARIES optimized ${JSONCPP_LIBRARY} debug ${JSONCPP_LIBRARY_DEBUG} ) | ||
else() | ||
set ( JSONCPP_LIBRARIES ${JSONCPP_LIBRARY} ) | ||
endif() | ||
|
||
# Handle the QUIETLY and REQUIRED arguments and set JSONCPP_FOUND to TRUE if | ||
# all listed variables are TRUE | ||
include ( FindPackageHandleStandardArgs ) | ||
find_package_handle_standard_args( JsonCPP DEFAULT_MSG JSONCPP_INCLUDE_DIR JSONCPP_LIBRARIES ) | ||
|
||
# Advanced variables | ||
mark_as_advanced ( JSONCPP_INCLUDE_DIR 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
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
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
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
Oops, something went wrong.