Skip to content

Commit b6508ff

Browse files
committed
Add argparse subproject
1 parent 1434825 commit b6508ff

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
[submodule "subprojects/cpptoml"]
55
path = subprojects/cpptoml
66
url = https://github.com/skystrife/cpptoml
7+
[submodule "subprojects/argparse"]
8+
path = subprojects/argparse
9+
url = https://github.com/p-ranav/argparse.git

meson.build

+3
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ deps = [ threads_dep, openmp_dep, cpptomp_dep, sdsl_dep ]
6565
meson.add_install_script('scripts/install-cpptoml')
6666
meson.add_install_script('scripts/install-sdsl-lite')
6767

68+
argparse_subproject = cmake.subproject('argparse', options : cmake_options)
69+
argparse_dep = argparse_subproject.dependency('argparse')
70+
6871
# Run time dependencies
6972
# ===========================================================
7073

recipes/meson.build

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ foreach recipe_file : recipe_files
44
executable(fs.stem(recipe_file),
55
recipe_file,
66
include_directories : btllib_include,
7-
dependencies : deps + [ btllib_dep ],
7+
dependencies : deps + [ btllib_dep, argparse_dep ],
88
install : true,
9-
install_dir : 'bin')
9+
install_dir : 'bin',
10+
override_options : ['cpp_std=c++17'])
1011
endforeach

subprojects/argparse

Submodule argparse added at 15d745f

0 commit comments

Comments
 (0)