Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
monticore
EmbeddedMontiArc
generators
EMAM2Cpp
Commits
cefe88fb
Commit
cefe88fb
authored
Nov 18, 2020
by
Malte Heithoff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BaseOptions
parent
28ccb56c
Pipeline
#363075
passed with stage
in 10 minutes and 54 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
src/main/java/de/monticore/lang/monticar/generator/cpp/GeneratorCppCli.java
...onticore/lang/monticar/generator/cpp/GeneratorCppCli.java
+6
-2
No files found.
src/main/java/de/monticore/lang/monticar/generator/cpp/GeneratorCppCli.java
View file @
cefe88fb
...
...
@@ -135,14 +135,19 @@ public final class GeneratorCppCli {
public
static
Options
getOptions
()
{
Options
options
=
new
Options
();
addBaseOptions
(
options
);
addEMAM2CPPOptions
(
options
);
return
options
;
}
public
static
void
add
EMAM2CPP
Options
(
Options
options
)
{
public
static
void
add
Base
Options
(
Options
options
)
{
options
.
addOption
(
OPTION_MODELS_PATH
);
options
.
addOption
(
OPTION_ROOT_MODEL
);
options
.
addOption
(
OPTION_OUTPUT_PATH
);
options
.
addOption
(
OPTION_FLAG_CMAKE
);
}
public
static
void
addEMAM2CPPOptions
(
Options
options
)
{
options
.
addOption
(
OPTION_FLAG_TESTS
);
options
.
addOption
(
OPTION_FLAG_ARMADILLO
);
options
.
addOption
(
OPTION_FLAG_AUTOPILOT_ADAPTER
);
...
...
@@ -151,7 +156,6 @@ public final class GeneratorCppCli {
options
.
addOption
(
OPTION_FLAG_ALGEBRAIC
);
options
.
addOption
(
OPTION_FLAG_THREADING
);
options
.
addOption
(
OPTION_FLAG_EXEC_LOGGING
);
options
.
addOption
(
OPTION_FLAG_CMAKE
);
}
public
static
CommandLine
parseArgs
(
Options
options
,
CommandLineParser
parser
,
String
[]
args
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment