소스 검색

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

default_compile_flags
vector-of-bool 5 년 전
부모
커밋
3a0f668fb8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      src/dds/build.cpp

+ 1
- 1
src/dds/build.cpp 파일 보기



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…
취소
저장