# ===========================================================================
# tests/CMakeLists.txt
# --------------------
#
# Top-level CMake file configuring the test targets to be built for testing
# the library functionalities.
# -------------------------------------------------------------------------
#
# author : Emanuele Parisi
# ===========================================================================

# ---------------------------------------------------------------------------
# Initialize the CMake test framework.
# ---------------------------------------------------------------------------

include(${CMAKE_SOURCE_DIR}/cmake/CreateGTestTarget.cmake)

# ---------------------------------------------------------------------------
# Download the required external dependencies and create the corresponding
# targets.
# ---------------------------------------------------------------------------

CreateGTestTarget(${CMAKE_BINARY_DIR}/test_dependencies)

# ---------------------------------------------------------------------------
# Load test sub-directories in the project.
# ---------------------------------------------------------------------------

add_subdirectory(units)
