Commit 4dbef62b authored by Philip Trettner's avatar Philip Trettner
Browse files

inlined doctest

parent c7fad852
......@@ -7,6 +7,3 @@
[submodule "extern/glm"]
path = extern/glm
url = https://github.com/g-truc/glm.git
[submodule "extern/doctest"]
path = extern/doctest
url = https://github.com/onqtam/doctest.git
......@@ -95,11 +95,6 @@ endforeach()
if (PM_BUILD_TESTS)
# doctest test library
option(DOCTEST_WITH_TESTS "" OFF)
option(DOCTEST_WITH_MAIN_IN_STATIC_LIB "" OFF)
add_subdirectory(extern/doctest)
file(GLOB_RECURSE SOURCES
"tests/*.cc"
"tests/*.hh"
......@@ -112,7 +107,6 @@ if (PM_BUILD_TESTS)
target_link_libraries(pm-tests PUBLIC
typed-geometry
polymesh
doctest
)
target_include_directories(pm-tests PUBLIC "tests")
......
Subproject commit b2611a140fe67d983b7078a3d3cf76a79efaaa9b
#include <doctest/doctest.h>
#include <doctest.hh>
#include <polymesh/Mesh.hh>
#include <polymesh/algorithms/remeshing/delaunay.hh>
......
#include <doctest/doctest.h>
#include <doctest.hh>
#include <polymesh/Mesh.hh>
......
This diff is collapsed.
This diff is collapsed.
#include <doctest/doctest.h>
#include <doctest.hh>
#include <polymesh/Mesh.hh>
......
#define DOCTEST_CONFIG_IMPLEMENT
#include <doctest/doctest.h>
#include <doctest.hh>
int main(int argc, char **argv)
{
......
#include <doctest/doctest.h>
#include <doctest.hh>
#include <glm/glm.hpp>
#include <tg/typed-geometry-std.hh>
......
#include <doctest/doctest.h>
#include <doctest.hh>
#include <polymesh/Mesh.hh>
#include <polymesh/algorithms/properties.hh>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment