CMakeLists test

This commit is contained in:
John Wellbelove 2020-09-30 09:42:00 +01:00
parent e337689ed0
commit 82ed6bcad9

View File

@ -3,6 +3,17 @@ project(etl_unit_tests)
add_definitions(-DETL_DEBUG)
option(NO_STL "No STL" OFF)
message(STATUS "CMakeLists.txt for ETL unit tests")
if (NO_STL)
message(STATUS "Compiling for No STL")
add_definitions(-DETL_NO_STL)
else()
message(STATUS "Compiling for STL")
endif()
if(NOT UnitTest++_FOUND)
# Add unittest-cpp as an ExternalProject
include(cmake/unit-test_external_project.cmake)