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
Humanoid Path Planner
hpp-util
Commits
72783146
Unverified
Commit
72783146
authored
May 06, 2020
by
Joseph Mirabel
Committed by
GitHub
May 06, 2020
Browse files
Merge pull request #21 from nim65s/devel
[CMake] tests require boost headers
parents
e7f401cf
ff974fcd
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/CMakeLists.txt
View file @
72783146
...
...
@@ -20,6 +20,7 @@
#
MACRO
(
DEFINE_TEST NAME
)
ADD_UNIT_TEST
(
${
NAME
}
${
NAME
}
.cc
)
TARGET_INCLUDE_DIRECTORIES
(
${
NAME
}
PRIVATE
${
Boost_INCLUDE_DIRS
}
)
TARGET_LINK_LIBRARIES
(
${
NAME
}
${
PROJECT_NAME
}
)
ENDMACRO
(
DEFINE_TEST
)
...
...
@@ -33,5 +34,6 @@ DEFINE_TEST(timer)
SET
(
HPP_LOGGINGDIR
"
${
CMAKE_CURRENT_BINARY_DIR
}
"
)
CONFIG_FILES
(
run_debug.sh
)
ADD_EXECUTABLE
(
debug debug.cc
)
TARGET_INCLUDE_DIRECTORIES
(
debug PRIVATE
${
Boost_INCLUDE_DIRS
}
)
TARGET_LINK_LIBRARIES
(
debug
${
PROJECT_NAME
}
)
ADD_TEST
(
NAME debug COMMAND
${
RUNTIME_OUTPUT_DIRECTORY
}
/run_debug.sh
)
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