Browse Source

Fix `#include` directive for catch-main cpp file

default_compile_flags
vector-of-bool 5 years ago
parent
commit
3a0f668fb8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/dds/build.cpp

+ 1
- 1
src/dds/build.cpp View File



auto catch_cpp = test_include_root / "catch2" / fname; auto catch_cpp = test_include_root / "catch2" / fname;
auto cpp_strm = open(catch_cpp, std::ios::out | std::ios::binary); auto cpp_strm = open(catch_cpp, std::ios::out | std::ios::binary);
cpp_strm << R"(#include "./catch.hpp"\n)";
cpp_strm << "#include \"./catch.hpp\"\n";
cpp_strm.close(); cpp_strm.close();


auto sf = source_file::from_path(catch_cpp, test_include_root); auto sf = source_file::from_path(catch_cpp, test_include_root);

Loading…
Cancel
Save