Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
eos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Richard Torenvliet
eos
Commits
be700340
Commit
be700340
authored
Dec 09, 2016
by
Patrik Huber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed support for gcc-4.8
parent
a3deb18d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
11 deletions
+4
-11
CMakeLists.txt
CMakeLists.txt
+3
-10
README.md
README.md
+1
-1
No files found.
CMakeLists.txt
View file @
be700340
...
@@ -10,16 +10,9 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON)
...
@@ -10,16 +10,9 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON)
# Check if a supported compiler is used and add c++11/14 flag
# Check if a supported compiler is used and add c++11/14 flag
include
(
CheckCXXCompilerFlag
)
include
(
CheckCXXCompilerFlag
)
if
(
CMAKE_CXX_COMPILER_ID STREQUAL
"GNU"
)
if
(
CMAKE_CXX_COMPILER_ID STREQUAL
"GNU"
)
if
(
CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.8
)
if
(
CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.9
)
message
(
FATAL_ERROR
"Need at least gcc 4.8 to compile."
)
message
(
FATAL_ERROR
"Need at least gcc 4.9 to compile."
)
elseif
(
CMAKE_CXX_COMPILER_VERSION VERSION_EQUAL 4.8
OR
(
CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 4.8 AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.9
))
else
()
# gcc version is >4.9
# This compiles with a warning at the moment, but support for gcc 4.8.x will be removed in the very near future.
check_cxx_compiler_flag
(
-std=c++11 HAS_CXX11_FLAG
)
if
(
HAS_CXX11_FLAG
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-std=c++11"
)
endif
()
message
(
WARNING
"Support for gcc 4.8 will be removed in the very near future. Please upgrade your compiler."
)
else
()
# gcc version is >4.8
check_cxx_compiler_flag
(
-std=c++14 HAS_CXX14_FLAG
)
check_cxx_compiler_flag
(
-std=c++14 HAS_CXX14_FLAG
)
if
(
HAS_CXX14_FLAG
)
if
(
HAS_CXX14_FLAG
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-std=c++14"
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-std=c++14"
)
...
...
README.md
View file @
be700340
...
@@ -26,7 +26,7 @@ At the moment, it mainly provides the following functionality:
...
@@ -26,7 +26,7 @@ At the moment, it mainly provides the following functionality:
## Usage
## Usage
*
Tested with the following compilers: >=gcc-4.
8.4
, >=clang-3.5, Visual Studio 2015
*
Tested with the following compilers: >=gcc-4.
9
, >=clang-3.5, Visual Studio 2015
*
Needed dependencies for the library: Boost system (>=1.50.0), OpenCV core (>=2.4.3)
*
Needed dependencies for the library: Boost system (>=1.50.0), OpenCV core (>=2.4.3)
To use the library in your own project, just add the following directories to your include path:
To use the library in your own project, just add the following directories to your include path:
...
...
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