if(NOT CMAKE_SYSTEM_NAME STREQUAL "Windows")
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -ansi -pedantic")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -std=c++98 -pedantic")
# I would like to use -pedantic, but VTK devs are not sufficiently
# pedantic
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Werror")
add_subdirectory(include)
add_subdirectory(lib)
-add_subdirectory(src)
if(WITH_UNITTESTS)
add_subdirectory(tests)
+ enable_testing()
+ add_test(NAME unittests COMMAND tests)
endif()