diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index adcee5704..458d39860 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -27,5 +27,5 @@ add_subdirectory(libslic3r) add_subdirectory(timeutils) add_subdirectory(fff_print) add_subdirectory(sla_print) -add_subdirectory(cpp17) +add_subdirectory(cpp17 EXCLUDE_FROM_ALL) # does not have to be built all the time # add_subdirectory(example) diff --git a/tests/cpp17/main.cpp b/tests/cpp17/main.cpp index 385d863a3..f053b4fb4 100644 --- a/tests/cpp17/main.cpp +++ b/tests/cpp17/main.cpp @@ -72,6 +72,7 @@ int main() static_assert (isIntegral(10), "" ); // would fail to compile: static_assert (isIntegral(10.0), "" ); + std::cout << "Integer is integral: " << isIntegral(0) << std::endl; std::cout << "Floating point is not integral: " << isIntegral(0.0) << std::endl;