Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@
[submodule "third_party/glob"]
path = third_party/glob
url = https://github.com/p-ranav/glob.git
[submodule "third_party/matplotplusplus"]
path = third_party/matplotplusplus
url = https://github.com/alandefreitas/matplotplusplus.git
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ include(${oops_3rd_cmake_dir}/argparse.cmake)
include(${oops_3rd_cmake_dir}/fmt.cmake)
include(${oops_3rd_cmake_dir}/scnlib.cmake)
include(${oops_3rd_cmake_dir}/glob.cmake)
include(${oops_3rd_cmake_dir}/matplotplusplus.cmake)
if(ENABLE_TEST)
include(${oops_3rd_cmake_dir}/googletest.cmake)
endif()
Expand Down
13 changes: 13 additions & 0 deletions third_party/cmake/matplotplusplus.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# matplotplusplus-1.2.2 (fe308e13)
set(lib_dir ${oops_3rd_dir}/matplotplusplus)
if(NOT EXISTS "${lib_dir}/CMakeLists.txt")
execute_process(COMMAND git submodule update --init --recursive ${lib_dir})
endif()

add_subdirectory(${lib_dir})
if(TARGET nodesoup)
target_compile_options(nodesoup PRIVATE -w)
endif()
if(TARGET matplot)
target_compile_options(matplot PRIVATE -w)
endif()
1 change: 1 addition & 0 deletions third_party/matplotplusplus
Submodule matplotplusplus added at fe308e
Loading