Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sogMBT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PMC-SOG
sogMBT
Commits
beb6eefc
Commit
beb6eefc
authored
2 years ago
by
Jaime Arias
Browse files
Options
Downloads
Patches
Plain Diff
add CLI library
parent
d0a4460e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+9
-2
9 additions, 2 deletions
CMakeLists.txt
libs/cli11/CLI11.hpp
+9686
-0
9686 additions, 0 deletions
libs/cli11/CLI11.hpp
src/CMakeLists.txt
+1
-1
1 addition, 1 deletion
src/CMakeLists.txt
with
9696 additions
and
3 deletions
CMakeLists.txt
+
9
−
2
View file @
beb6eefc
...
...
@@ -9,8 +9,11 @@ set(CMAKE_CXX_STANDARD 14)
set
(
CMAKE_CXX_STANDARD_REQUIRED ON
)
set
(
CMAKE_CXX_EXTENSIONS OFF
)
# libraries PATH
set
(
LIBS_DIR
${
CMAKE_CURRENT_SOURCE_DIR
}
/libs
)
# add BuDDy
set
(
BUDDY_DIR
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/libs
/buddy"
)
set
(
BUDDY_DIR
"
${
LIBS_DIR
}
/buddy"
)
message
(
STATUS
"Building BuDDy parser ..."
)
option
(
BUDDY_BUILD_EXAMPLES
"Build BuDDy Examples"
ON
)
...
...
@@ -18,10 +21,14 @@ set(BUDDY_BUILD_EXAMPLES OFF)
add_subdirectory
(
${
BUDDY_DIR
}
)
# add pn parser
set
(
PARSER_DIR
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/libs
/parser"
)
set
(
PARSER_DIR
"
${
LIBS_DIR
}
/parser"
)
message
(
STATUS
"Building Petri Net parser ..."
)
add_subdirectory
(
${
PARSER_DIR
}
)
# CLI library
add_library
(
cli11 INTERFACE
)
target_include_directories
(
cli11 INTERFACE
"
${
LIBS_DIR
}
/cli11"
)
# add source folder
include_directories
(
src
)
add_subdirectory
(
src
)
This diff is collapsed.
Click to expand it.
libs/cli11/CLI11.hpp
0 → 100644
+
9686
−
0
View file @
beb6eefc
This diff is collapsed.
Click to expand it.
src/CMakeLists.txt
+
1
−
1
View file @
beb6eefc
...
...
@@ -8,4 +8,4 @@ add_executable(sogMBT main.cpp
)
target_include_directories
(
sogMBT PRIVATE
"
${
BUDDY_DIR
}
/src"
"
${
PARSER_DIR
}
/src"
)
target_link_libraries
(
sogMBT bdd RdP
)
\ No newline at end of file
target_link_libraries
(
sogMBT bdd RdP cli11
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment