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
ndcurves
Commits
243144ae
Commit
243144ae
authored
Jan 03, 2019
by
Guilhem Saurel
Browse files
use standard CMake paths & tests
parent
631f54f2
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
243144ae
# Build and Release Folders
bin/
lib/
build/
build-rel/
...
...
CMakeLists.txt
View file @
243144ae
cmake_minimum_required
(
VERSION 2.6
)
project
(
spline
)
INCLUDE
(
cmake/base.cmake
)
INCLUDE
(
cmake/test.cmake
)
INCLUDE
(
cmake/python.cmake
)
SET
(
PROJECT_ORG humanoid-path-planner
)
...
...
@@ -10,9 +11,6 @@ SET(PROJECT_DESCRIPTION
)
SET
(
PROJECT_URL
"https://github.com/
${
PROJECT_ORG
}
/
${
PROJECT_NAME
}
"
)
set
(
CMAKE_MODULE_PATH
"
${
PROJECT_SOURCE_DIR
}
/build/"
)
set
(
CMAKE_RUNTIME_OUTPUT_DIRECTORY
"
${
PROJECT_SOURCE_DIR
}
/bin/"
)
set
(
LIBRARY_OUTPUT_PATH
"
${
PROJECT_SOURCE_DIR
}
/lib/"
)
# Disable -Werror on Unix for now.
SET
(
CXX_DISABLE_WERROR True
)
SET
(
CMAKE_VERBOSE_MAKEFILE True
)
...
...
tests/CMakeLists.txt
View file @
243144ae
cmake_minimum_required
(
VERSION 2.6
)
include_directories
(
"
${
PROJECT_SOURCE_DIR
}
/include"
)
FILE
(
GLOB_RECURSE HeaderFiles
"
${
PROJECT_SOURCE_DIR
}
/include/spline/*.h"
)
add_executable
(
spline_tests
${
HeaderFiles
}
Main.cpp
ADD_UNIT_TEST
(
spline_tests Main.cpp
)
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