GitLab maintenance scheduled for Tomorrow, 2020-01-30, from 17:00 to 18:00 CT - Services will be unavailable during this time.

Commit b4bac155 authored by Matthieu Dorier's avatar Matthieu Dorier

made building tests and examples optional

parent d0421aa8
......@@ -12,6 +12,9 @@ cmake_minimum_required (VERSION 3.0)
project (remi C CXX)
enable_testing ()
option(ENABLE_TESTS "Build tests. May require CppUnit_ROOT" OFF)
option(ENABLE_EXAMPLES "Build examples" OFF)
# add our cmake module directory to the path
......@@ -38,5 +41,9 @@ xpkg_import_module (abt-io REQUIRED abt-io)
xpkg_import_module (uuid REQUIRED uuid)
add_subdirectory (src)
add_subdirectory (test)
add_subdirectory (examples)
add_subdirectory (test)
add_subdirectory (examples)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment