-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
0 parents
commit 9db431f
Showing
71 changed files
with
5,289 additions
and
0 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 @@ | ||
* text=auto |
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,6 @@ | ||
/build/ | ||
/linux_build/ | ||
/test/ | ||
/generate-configuration-parser.bat | ||
/run-cmake.bat | ||
/install.bat |
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,15 @@ | ||
|
||
cmake_minimum_required(VERSION 3.15) | ||
|
||
project(json-cpp-gen LANGUAGES CXX) | ||
|
||
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>") | ||
|
||
file(GLOB_RECURSE JSON_CPP_GEN_HEADERS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "src/*.h" "generated/*.h") | ||
file(GLOB_RECURSE JSON_CPP_GEN_SOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "src/*.cpp" "generated/*.cpp") | ||
|
||
add_executable(json-cpp-gen ${JSON_CPP_GEN_HEADERS} ${JSON_CPP_GEN_SOURCES}) | ||
target_compile_features(json-cpp-gen PUBLIC cxx_std_11) | ||
if (MSVC) | ||
target_compile_definitions(json-cpp-gen PUBLIC _CRT_SECURE_NO_WARNINGS) | ||
endif() |
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,25 @@ | ||
|
||
JSON-CPP-GEN | ||
Copyright (c) 2021 Viktor Chlumsky | ||
|
||
This software is provided under a dual license: | ||
|
||
- For GitHub Sponsors of Chlumsky, with an active monthly subscription | ||
to the second available tier or higher, the software and its output | ||
is provided under the MIT license (https://mit-license.org/). | ||
|
||
- For everyone else, the software may only be used for non-commercial | ||
purposes and cannot be redistributed. Its output may also only be used | ||
for non-commercial purposes but may be modified or redistributed as long | ||
as the "generated by" attribution notice and URL is retained. | ||
|
||
The software is provided "as-is", without warranty of any kind, express or | ||
implied, including but not limited to the warranties of merchantability, | ||
fitness for a particular purpose and noninfringement. In no event shall | ||
the authors or copyright holders be liable for any claim, damages or other | ||
liability, whether in an action of contract, tort or otherwise, arising from, | ||
out of or in connection with the software or the use or other dealings | ||
in the software. | ||
|
||
The above copyright notice and licensing information must be included | ||
in all copies or substantial portions of the software. |
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,26 @@ | ||
{ | ||
"inputs": [ | ||
"src/NameFormat.h", | ||
"src/Configuration.h" | ||
], | ||
"settings": { | ||
"jsonIOMode": "NULL_TERMINATED_STRING", | ||
"keyFormat": "ANY", | ||
"enumFormat": "ANY", | ||
"noThrow": false, | ||
"verboseErrors": true, | ||
"strictSyntaxCheck": true, | ||
"checkMissingKeys": false, | ||
"checkRepeatingKeys": false, | ||
"ignoreExtraKeys": true, | ||
"checkIntegerOverflow": true | ||
}, | ||
"parsers": [ { | ||
"name": "ConfigurationParser", | ||
"types": [ | ||
"Configuration" | ||
], | ||
"headerOutput": "generated/ConfigurationParser.h", | ||
"sourceOutput": "generated/ConfigurationParser.cpp" | ||
} ] | ||
} |
Oops, something went wrong.