aboutsummaryrefslogtreecommitdiff
path: root/include/catch_with_main.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/catch_with_main.hpp')
-rw-r--r--include/catch_with_main.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/catch_with_main.hpp b/include/catch_with_main.hpp
new file mode 100644
index 0000000..54aa651
--- /dev/null
+++ b/include/catch_with_main.hpp
@@ -0,0 +1,14 @@
+ /*
+ * Created by Phil on 01/11/2010.
+ * Copyright 2010 Two Blue Cubes Ltd. All rights reserved.
+ *
+ * Distributed under the Boost Software License, Version 1.0. (See accompanying
+ * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+ */
+#ifndef TWOBLUECUBES_CATCH_WITH_MAIN_HPP_INCLUDED
+#define TWOBLUECUBES_CATCH_WITH_MAIN_HPP_INCLUDED
+
+#define CATCH_CONFIG_MAIN
+#include "catch.hpp"
+
+#endif // TWOBLUECUBES_CATCH_WITH_MAIN_HPP_INCLUDED