Skip to content

Commit

Permalink
add yaml-cpp as a submodule (#360)
Browse files Browse the repository at this point in the history
* add yaml-cpp as a submodule

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
BenWibking and pre-commit-ci[bot] authored Sep 5, 2023
1 parent 1b5d55d commit 50b22e1
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@
path = extern/Microphysics
url = https://github.com/psharda/Microphysics
branch = development
[submodule "extern/yaml-cpp"]
path = extern/yaml-cpp
url = https://github.com/jbeder/yaml-cpp.git
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ endif()

add_subdirectory(${QuokkaCode_SOURCE_DIR}/extern/amrex ${QuokkaCode_BINARY_DIR}/amrex)
add_subdirectory(${QuokkaCode_SOURCE_DIR}/extern/fmt ${QuokkaCode_BINARY_DIR}/fmt)
add_subdirectory(${QuokkaCode_SOURCE_DIR}/extern/yaml-cpp ${QuokkaCode_BINARY_DIR}/yaml-cpp)

#add compiler definitions again because
#they do not carry forward from Microphysics
Expand Down
2 changes: 1 addition & 1 deletion extern/sedov/sedov.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"cells": [
"cells": [
{
"cell_type": "code",
"execution_count": 15,
Expand Down
1 change: 1 addition & 0 deletions extern/yaml-cpp
Submodule yaml-cpp added at fcbb81
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ include_directories(${gamma_law_dirs} ${CMAKE_CURRENT_BINARY_DIR} "includes/exte
link_libraries(AMReX::amrex)
link_libraries(fmt::fmt)
link_libraries(hdf5::hdf5)
link_libraries(yaml-cpp::yaml-cpp)

include(CTest)

Expand Down
2 changes: 1 addition & 1 deletion src/NSCBC/dQ_dx_inflow.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"cells": [
"cells": [
{
"cell_type": "code",
"execution_count": 1,
Expand Down
2 changes: 1 addition & 1 deletion src/NSCBC/dQ_dx_outflow.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"cells": [
"cells": [
{
"cell_type": "markdown",
"metadata": {},
Expand Down

0 comments on commit 50b22e1

Please sign in to comment.