Browse Source

Builtin-toolchain prefix for debug

default_compile_flags
vector-of-bool 5 years ago
parent
commit
e7c1be5e6a
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      src/dds/toolchain/toolchain.cpp

+ 5
- 0
src/dds/toolchain/toolchain.cpp View File



std::string tc_content; std::string tc_content;


if (starts_with(tc_id, "debug:")) {
tc_id = tc_id.substr("debug:"sv.length());
tc_content += "Debug: True\n";
}

if (starts_with(tc_id, "ccache:")) { if (starts_with(tc_id, "ccache:")) {
tc_id = tc_id.substr("ccache:"sv.length()); tc_id = tc_id.substr("ccache:"sv.length());
tc_content += "Compiler-Launcher: ccache\n"; tc_content += "Compiler-Launcher: ccache\n";

Loading…
Cancel
Save