Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mc-sog
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
mc-sog
Commits
64898349
Commit
64898349
authored
4 years ago
by
Jaime Arias
Browse files
Options
Downloads
Patches
Plain Diff
refactor: add c++17 standard to project and c++14 to sylvan
parent
a38da9cf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+8
-3
8 additions, 3 deletions
CMakeLists.txt
src/CMakeLists.txt
+1
-1
1 addition, 1 deletion
src/CMakeLists.txt
third-party/sylvan
+1
-1
1 addition, 1 deletion
third-party/sylvan
with
10 additions
and
5 deletions
CMakeLists.txt
+
8
−
3
View file @
64898349
# set minimum cmake version
cmake_minimum_required
(
VERSION 3.
5
FATAL_ERROR
)
cmake_minimum_required
(
VERSION 3.
8
FATAL_ERROR
)
# project name and language
project
(
pmc-sog C CXX
)
# compiler flags
# C++17 standard
set
(
CMAKE_CXX_STANDARD 17
)
set
(
CMAKE_CXX_STANDARD_REQUIRED ON
)
set
(
CMAKE_CXX_EXTENSIONS OFF
)
# Add compiler flags
if
(
CMAKE_COMPILER_IS_GNUCC
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-fpermissive
-std=c++17
"
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-fpermissive"
)
endif
()
# add pn parser
...
...
This diff is collapsed.
Click to expand it.
src/CMakeLists.txt
+
1
−
1
View file @
64898349
# set minimum cmake version
cmake_minimum_required
(
VERSION 3.
5
FATAL_ERROR
)
cmake_minimum_required
(
VERSION 3.
8
FATAL_ERROR
)
# include MPI
find_package
(
MPI REQUIRED
)
...
...
This diff is collapsed.
Click to expand it.
sylvan
@
97208c7f
Compare
7184c4ae
...
97208c7f
Subproject commit
7184c4aede8b1d95c33442862075b37f9eaae899
Subproject commit
97208c7f528f08a91afa99da0d43c6734d36cfa4
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