Quellcode durchsuchen

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

default_compile_flags
vector-of-bool vor 5 Jahren
Ursprung
Commit
3a0f668fb8
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      src/dds/build.cpp

+ 1
- 1
src/dds/build.cpp Datei anzeigen

@@ -150,7 +150,7 @@ void prepare_catch2_driver(library_build_params& lib_params,

auto catch_cpp = test_include_root / "catch2" / fname;
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();

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

Laden…
Abbrechen
Speichern