Просмотр исходного кода

Get ready to merge with master.

tamasmeszaros 5 лет назад
Родитель
Сommit
1fad91e485
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 1
      tests/CMakeLists.txt
  2. 1 0
      tests/cpp17/main.cpp

+ 1 - 1
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)

+ 1 - 0
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;