// -*- c++ -*- // Distributed under the BSD 2-Clause License. // See accompanying file LICENSE for details. #pragma once #include "ctor.h" #include #include std::string readFile(const std::string& fileName); std::vector readDeps(const std::string& depFile); ctor::language languageFromExtension(const std::filesystem::path& file); std::string cleanUp(const std::string& path); template void append(T& a, const T& b) { a.insert(a.end(), b.begin(), b.end()); } //using cxx_flags = std::vector; //using c_flags = std::vector; //using ld_flags= std::vector; //using asm_flags = std::vector;