Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
centrality
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
Oleksii Lubynets
centrality
Commits
fe57d86a
Commit
fe57d86a
authored
5 years ago
by
Viktor Klochkov
Browse files
Options
Downloads
Patches
Plain Diff
build type
parent
17944436
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+3
-0
3 additions, 0 deletions
.gitignore
CMakeLists.txt
+22
-2
22 additions, 2 deletions
CMakeLists.txt
with
25 additions
and
2 deletions
.gitignore
0 → 100644
+
3
−
0
View file @
fe57d86a
build/*
install/*
Doxygen/*
This diff is collapsed.
Click to expand it.
CMakeLists.txt
+
22
−
2
View file @
fe57d86a
cmake_minimum_required
(
VERSION 2.8
)
cmake_minimum_required
(
VERSION 2.8
)
project
(
Centrality
)
project
(
Centrality
)
set
(
CMAKE_MACOSX_RPATH 1
)
set
(
CMAKE_MACOSX_RPATH 1
)
set
(
CMAKE_cpp_STANDARD 11
)
set
(
CMAKE_BUILD_TYPE debug
)
set
(
PROJECT_VERSION 1.0
)
set
(
PROJECT_VERSION 1.0
)
if
(
NOT DEFINED CMAKE_CXX_STANDARD
)
set
(
CMAKE_CXX_STANDARD 11
)
endif
()
set
(
CMAKE_CXX_STANDARD_REQUIRED ON
)
message
(
STATUS
"Using C++
${
CMAKE_CXX_STANDARD
}
"
)
# by default build optimized code with debug symbols
if
(
NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES
)
set
(
CMAKE_BUILD_TYPE RELWITHDEBINFO
)
endif
()
# in DEBUG mode make verbose Makefile
if
(
CMAKE_BUILD_TYPE MATCHES DEBUG
)
set
(
CMAKE_VERBOSE_MAKEFILE ON
)
endif
()
set
(
CMAKE_CXX_FLAGS_DEBUG
"-O0 -ggdb -DDEBUG -D__DEBUG -Wall"
)
set
(
CMAKE_CXX_FLAGS_RELWITHDEBINFO
"
${
CMAKE_CXX_FLAGS_RELEASE
}
-ggdb"
)
set
(
CMAKE_CXX_FLAGS_RELEASE
"-O3 -march=native -ftree-vectorize -ffast-math -DNODEBUG"
)
message
(
STATUS
"Using CXX flags for
${
CMAKE_BUILD_TYPE
}
:
${
CMAKE_CXX_FLAGS_
${
CMAKE_BUILD_TYPE
}}
"
)
set
(
SOURCES
set
(
SOURCES
src/BordersFinder.cpp
src/BordersFinder.cpp
src/BordersFinderHelper.cpp
src/BordersFinderHelper.cpp
...
...
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