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
loco-3d
sot-talos-balance
Commits
1d94d52c
Unverified
Commit
1d94d52c
authored
Dec 28, 2020
by
Guilhem Saurel
Committed by
GitHub
Dec 28, 2020
Browse files
Merge pull request
#19
from nim65s/devel
[CMake] fix link to parameter-server
parents
50183353
07012b30
Pipeline
#12713
passed with stage
in 49 minutes and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/CMakeLists.txt
View file @
1d94d52c
...
...
@@ -7,7 +7,8 @@ ADD_DEFINITIONS(-DBOOST_TEST_DYN_LINK -DBOOST_TEST_MAIN)
SET
(
test_distribute_deps
distribute-wrench
sot-core::sot-core parameter-server
sot-core::sot-core
sot-core::parameter-server
)
#test paths and names (without .cpp extension)
...
...
@@ -16,15 +17,8 @@ SET(tests
test_distribute
)
IF
(
UNIX
)
LINK_DIRECTORIES
(
${
DYNAMIC_GRAPH_PLUGINDIR
}
)
ENDIF
(
UNIX
)
ADD_DEFINITIONS
(
-DDEBUG=2
)
# find -lparameter-server. TODO: that's ugly, properly export a component for each plugin instead.
LINK_DIRECTORIES
(
"
${
sot-core_DIR
}
/../../../
${
DYNAMIC_GRAPH_PLUGINDIR
}
"
)
FOREACH
(
test
${
tests
}
)
ADD_UNIT_TEST
(
${
test
}
${
test
}
.cpp
)
TARGET_LINK_LIBRARIES
(
${
test
}
PRIVATE
${
PROJECT_NAME
}
${${
test
}
_deps
}
Boost::unit_test_framework
)
...
...
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