Skip to content
Snippets Groups Projects
Commit f35100e1 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Add option for building tests

parent 284d3dcc
No related branches found
No related tags found
1 merge request!1Resolve "icp: develop matching tools"
......@@ -2,3 +2,6 @@
bin/
build/
lib/
.settings/language.settings.xml
.project
.cproject
......@@ -82,5 +82,11 @@ INSTALL(FILES ${HDRS}
INSTALL(FILES ../Findlaser_scan_utils.cmake DESTINATION ${CMAKE_ROOT}/Modules/)
#Build examples & tests
MESSAGE("Building tests.")
ADD_SUBDIRECTORY(test)
IF(NOT BUILD_TESTS)
OPTION(BUILD_TESTS "Build Unit tests" ON)
ENDIF(NOT BUILD_TESTS)
IF(BUILD_TESTS)
MESSAGE("Building tests.")
ADD_SUBDIRECTORY(test)
ENDIF(BUILD_TESTS)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment