MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
Build.cpp File Reference
#include "Build.hpp"
#include "Sidecar.hpp"
#include <array>
#include <cctype>
#include <cstdio>
Include dependency graph for Build.cpp:

Go to the source code of this file.

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
namespace  MayaFlux::Reflect
namespace  MayaFlux::Reflect::Tool

Macros

#define MAYAFLUX_REFLECT_PCLOSE   pclose
#define MAYAFLUX_REFLECT_POPEN   popen
#define MAYAFLUX_REFLECT_QUIET   " 2>/dev/null"

Functions

std::string MayaFlux::Reflect::Tool::resolve_resource_dir (const std::string &configured)
 The Clang resource directory a build scan uses.
std::vector< std::filesystem::path > MayaFlux::Reflect::Tool::without_sidecars (std::vector< std::filesystem::path > dependencies)
 dependencies without files that end in a generated sidecar suffix.
bool MayaFlux::Reflect::Tool::write_depfile (const std::filesystem::path &path, const std::string &target, const std::vector< std::filesystem::path > &dependencies, std::string &error)
 Writes a depfile of the form target: dependency... that CMake's DEPFILE reads.
bool MayaFlux::Reflect::Tool::write_generated (const std::filesystem::path &path, const std::string &content, std::string &error)
 Writes content when it differs, then marks path as modified now.