File tree 3 files changed +7
-6
lines changed
share/openPMD/json_schema
3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -734,12 +734,12 @@ set(openPMD_TEST_NAMES
734
734
# command line tools
735
735
set (openPMD_CLI_TOOL_NAMES
736
736
ls
737
- convert_json_toml
737
+ convert-json-toml
738
738
)
739
739
set (openPMD_PYTHON_CLI_TOOL_NAMES
740
740
pipe
741
741
)
742
- set (openPMD_PYTHON_CLI_MODULE_NAMES ${openPMD_CLI_TOOL_NAMES} )
742
+ set (openPMD_PYTHON_CLI_MODULE_NAMES ls )
743
743
# examples
744
744
set (openPMD_EXAMPLE_NAMES
745
745
1_structure
@@ -908,8 +908,9 @@ if(openPMD_BUILD_CLI_TOOLS)
908
908
endif ()
909
909
910
910
target_link_libraries (openpmd-${toolname} PRIVATE openPMD)
911
- target_link_libraries (openpmd-${toolname} PRIVATE openPMD::thirdparty::nlohmann_json)
912
- target_link_libraries (openpmd-${toolname} PRIVATE openPMD::thirdparty::toml11)
911
+ target_include_directories (openpmd-${toolname} SYSTEM PRIVATE
912
+ $<TARGET_PROPERTY:openPMD::thirdparty::nlohmann_json,INTERFACE_INCLUDE_DIRECTORIES >
913
+ $<TARGET_PROPERTY:openPMD::thirdparty::toml11,INTERFACE_INCLUDE_DIRECTORIES >)
913
914
endforeach ()
914
915
endif ()
915
916
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
for toml_file in ./* .toml; do
3
3
dest_name=" ${toml_file% .toml} .json"
4
- openpmd-convert_json_toml " @$toml_file " | jq . > " $dest_name "
4
+ openpmd-convert-json-toml " @$toml_file " | jq . > " $dest_name "
5
5
done
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ void parsed_main(std::string jsonOrToml)
12
12
auto [config, originallySpecifiedAs] = json::parseOptions (
13
13
jsonOrToml, /* considerFiles = */ true , /* convertLowercase = */ false );
14
14
{
15
- auto _ = std::move (jsonOrToml);
15
+ [[maybe_unused]] auto _ = std::move (jsonOrToml);
16
16
}
17
17
switch (originallySpecifiedAs)
18
18
{
You can’t perform that action at this time.
0 commit comments