From 29051766975d471c4eff9f7b3137752234cf1a4c Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 29 May 2018 22:46:07 +0200 Subject: Enable c++ compilation with autotools and cmake, hardened compilation flags and add catch2 framework Hardened compilation flags come from GDAL' configure.ac and are 'combat proven' Dummy test added just to demonstrate catch2 based tests work. --- test/cpp/test_main.cpp | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 test/cpp/test_main.cpp (limited to 'test/cpp/test_main.cpp') diff --git a/test/cpp/test_main.cpp b/test/cpp/test_main.cpp new file mode 100644 index 00000000..0c7c351f --- /dev/null +++ b/test/cpp/test_main.cpp @@ -0,0 +1,2 @@ +#define CATCH_CONFIG_MAIN +#include "catch.hpp" -- cgit v1.2.3