Просмотр исходного кода

Builtin-toolchain prefix for debug

default_compile_flags
vector-of-bool 5 лет назад
Родитель
Сommit
e7c1be5e6a
1 измененных файлов: 5 добавлений и 0 удалений
  1. +5
    -0
      src/dds/toolchain/toolchain.cpp

+ 5
- 0
src/dds/toolchain/toolchain.cpp Просмотреть файл



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";

Загрузка…
Отмена
Сохранить