-
Notifications
You must be signed in to change notification settings - Fork 7
Upgrade Core to 3ea3a54756071232ca017b96bc15f17d8b5be370
#911
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,7 +8,6 @@ both schema-driven and schema-less support." | |
| list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake") | ||
|
|
||
| # Options | ||
| option(JSONBINPACK_NUMERIC "Build the JSON BinPack numeric library" ON) | ||
| option(JSONBINPACK_RUNTIME "Build the JSON BinPack runtime" ON) | ||
| option(JSONBINPACK_COMPILER "Build the JSON BinPack compiler" ON) | ||
| option(JSONBINPACK_TESTS "Build the JSON BinPack tests" OFF) | ||
|
|
@@ -37,11 +36,6 @@ if(JSONBINPACK_INSTALL) | |
| COMPONENT sourcemeta_jsonbinpack_dev) | ||
| endif() | ||
|
|
||
| # Numeric | ||
| if(JSONBINPACK_NUMERIC) | ||
| add_subdirectory(src/numeric) | ||
| endif() | ||
|
|
||
| # Runtime | ||
| if(JSONBINPACK_RUNTIME) | ||
| add_subdirectory(src/runtime) | ||
|
|
@@ -73,10 +67,6 @@ endif() | |
| if(JSONBINPACK_TESTS) | ||
| enable_testing() | ||
|
|
||
| if(JSONBINPACK_NUMERIC) | ||
| add_subdirectory(test/numeric) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. With Severity: medium 🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage. |
||
| endif() | ||
|
|
||
| if(JSONBINPACK_RUNTIME) | ||
| add_subdirectory(test/runtime) | ||
| endif() | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| vendorpull https://github.com/sourcemeta/vendorpull 1dcbac42809cf87cb5b045106b863e17ad84ba02 | ||
| core https://github.com/sourcemeta/core efaed8a73fa1ba38f0c2fdcbd11d0b3223c5a70e | ||
| core https://github.com/sourcemeta/core 3ea3a54756071232ca017b96bc15f17d8b5be370 | ||
| blaze https://github.com/sourcemeta/blaze 0ff98cb5e537f571bdf04f0d59a031a0d8634e07 | ||
| bootstrap https://github.com/twbs/bootstrap 1a6fdfae6be09b09eaced8f0e442ca6f7680a61e |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,23 +4,18 @@ | |
| list(APPEND JSONBINPACK_COMPONENTS ${JSONBinPack_FIND_COMPONENTS}) | ||
| list(APPEND JSONBINPACK_COMPONENTS ${jsonbinpack_FIND_COMPONENTS}) | ||
| if(NOT JSONBINPACK_COMPONENTS) | ||
| list(APPEND JSONBINPACK_COMPONENTS numeric) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Dropping the Severity: medium Other Locations
🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage. |
||
| list(APPEND JSONBINPACK_COMPONENTS runtime) | ||
| list(APPEND JSONBINPACK_COMPONENTS compiler) | ||
| endif() | ||
|
|
||
| include(CMakeFindDependencyMacro) | ||
| find_dependency(Core COMPONENTS regex uri json jsonpointer jsonschema) | ||
| find_dependency(Core COMPONENTS numeric regex uri json jsonpointer jsonschema) | ||
| find_dependency(Blaze COMPONENTS alterschema) | ||
|
|
||
| foreach(component ${JSONBINPACK_COMPONENTS}) | ||
| if(component STREQUAL "numeric") | ||
| include("${CMAKE_CURRENT_LIST_DIR}/sourcemeta_jsonbinpack_numeric.cmake") | ||
| elseif(component STREQUAL "runtime") | ||
| include("${CMAKE_CURRENT_LIST_DIR}/sourcemeta_jsonbinpack_numeric.cmake") | ||
| if(component STREQUAL "runtime") | ||
| include("${CMAKE_CURRENT_LIST_DIR}/sourcemeta_jsonbinpack_runtime.cmake") | ||
| elseif(component STREQUAL "compiler") | ||
| include("${CMAKE_CURRENT_LIST_DIR}/sourcemeta_jsonbinpack_numeric.cmake") | ||
| include("${CMAKE_CURRENT_LIST_DIR}/sourcemeta_jsonbinpack_compiler.cmake") | ||
| else() | ||
| message(FATAL_ERROR "Unknown JSON BinPack component: ${component}") | ||
|
|
||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JSONBINPACK_NUMERICis removed here, but other entrypoints (e.g., the repoMakefile/CI configure steps) still pass-DJSONBINPACK_NUMERIC=ON, which will now produce “unused variable” CMake warnings (and can break stricter builds).Severity: low
🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.