Skip to content

Commit

Permalink
Added --cpp flag for C++ code generation
Browse files Browse the repository at this point in the history
  • Loading branch information
iomaganaris committed Nov 28, 2023
1 parent fdde343 commit 39a4bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ int main(int argc, const char* argv[]) {
app.add_flag("--coreneuron", coreneuron_code, "Generate C++ code for CoreNEURON (Default)");

auto host_opt = app.add_subcommand("host", "HOST/CPU code backends")->ignore_case();
host_opt->add_flag("--c", cpp_backend, fmt::format("C++ backend ({})", cpp_backend))
host_opt->add_flag("--c,--cpp", cpp_backend, fmt::format("C++ backend ({})", cpp_backend))

Check warning on line 188 in src/main.cpp

View check run for this annotation

Codecov / codecov/patch

src/main.cpp#L188

Added line #L188 was not covered by tests
->ignore_case();

auto acc_opt = app.add_subcommand("acc", "Accelerator code backends")->ignore_case();
Expand Down

0 comments on commit 39a4bc5

Please sign in to comment.