Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
soth
Commits
729fc3df
Commit
729fc3df
authored
Jan 13, 2016
by
Olivier Stasse
Browse files
Merge branch 'olivier-stasse-master'
parents
150f0025
fd9f265c
Changes
3
Hide whitespace changes
Inline
Side-by-side
.travis/build
View file @
729fc3df
...
...
@@ -40,12 +40,14 @@ if [ -f /etc/lsb-release ]; then
echo
"export DISTRIB_CODENAME="
$
DISTRIB_CODENAME
>>
/
tmp
/
local
.
bash
;
echo
"export DISTRIB_RELEASE="
$
DISTRIB_RELEASE
>>
/
tmp
/
local
.
bash
;
echo
"export DISTRIB_DESCRIPTION=
\"
"
$
DISTRIB_DESCRIPTION
\
" >> /tmp/local.bash;)
source
/tmp/local.bash
.
/tmp/local.bash
fi
# Compile and run tests
cd "
$
build_dir
"
if [ $DISTRIB_RELEASE == "
14.04
" ]; then
if [ "
$
DISTRIB_RELEASE
" = "
14.04
" ]; then
echo "
Build
with
14.04
"
cmake "
$
root_dir
" -DCMAKE_INSTALL_PREFIX="
$
install_dir
"
\
-DCMAKE_CXX_FLAGS="
--
coverage
"
\
-DCMAKE_EXE_LINKER_FLAGS="
--
coverage
"
\
...
...
@@ -53,13 +55,13 @@ if [ $DISTRIB_RELEASE == "14.04" ]; then
-DCMAKE_INSTALL_PREFIX:STRING="
$
install_dir
"
fi
if [ $DISTRIB_RELEASE == "
12.04
" ]; then
if [
"
$
DISTRIB_RELEASE
"
== "
12.04
" ]; then
cmake "
$
root_dir
" -DCMAKE_INSTALL_PREFIX="
$
install_dir
"
\
-DCMAKE_CXX_FLAGS="
--
coverage
"
\
-DCMAKE_EXE_LINKER_FLAGS="
--
coverage
"
\
-DCMAKE_INSTALL_PREFIX:STRING="
$
install_dir
"
fi
make
soth
make
make test
make install
CMakeLists.txt
View file @
729fc3df
...
...
@@ -4,6 +4,15 @@
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.6
)
IF
(
UNIX
)
INCLUDE
(
CMakeFindBinUtils
)
ENDIF
(
UNIX
)
EXECUTE_PROCESS
(
COMMAND
${
CMAKE_LINKER
}
-v OUTPUT_VARIABLE LD_VERSION_STR ERROR_VARIABLE LD_VERSION_STR
)
MESSAGE
(
"LD_VERSION_STR:
${
LD_VERSION_STR
}
"
)
STRING
(
REGEX MATCH
"([0-9]+
\\
.[0-9]+(
\\
.[0-9]+)?)"
LD_VERSION
${
LD_VERSION_STR
}
)
MESSAGE
(
"LD_VERSION:
${
LD_VERSION
}
"
)
INCLUDE
(
cmake/base.cmake
)
INCLUDE
(
cmake/boost.cmake
)
INCLUDE
(
cmake/cpack.cmake
)
...
...
@@ -40,11 +49,6 @@ ENDIF(UNIX)
SETUP_PROJECT
()
SEARCH_FOR_EIGEN
()
EXECUTE_PROCESS
(
COMMAND
${
CMAKE_LINKER
}
-v OUTPUT_VARIABLE LD_VERSION_STR ERROR_VARIABLE LD_VERSION_STR
)
MESSAGE
(
"LD_VERSION_STR:
${
LD_VERSION_STR
}
"
)
STRING
(
REGEX MATCH
"([0-9]+
\\
.[0-9]+(
\\
.[0-9]+)?)"
LD_VERSION
${
LD_VERSION_STR
}
)
MESSAGE
(
"LD_VERSION:
${
LD_VERSION
}
"
)
# Handle OS specificities
INCLUDE
(
CheckIncludeFiles
)
CHECK_INCLUDE_FILES
(
"sys/time.h"
SYS_TIME_H
)
...
...
README.md
View file @
729fc3df
soth
====
[

](https://travis-ci.org/stack-of-tasks/soth)
[

](https://coveralls.io/r/stack-of-tasks/soth?branch=master)
[

](https://travis-ci.org/stack-of-tasks/soth)
[

](https://coveralls.io/r/stack-of-tasks/soth?branch=master)
Setup
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment