CBuild
C++ build system with scripts written in c++
|
#include <cbuild_dep.hpp>
Public Member Functions | |
CBuildDependency (std::string path, std::string target_id, std::string headers_dir) | |
bool | need_prepare () override |
std::string | cargs () override |
std::string | largs () override |
void | prepare () override |
void | compile (std::string str) |
Protected Attributes | |
std::string | path |
std::string | target_id |
std::string | headers_dir |
Definition at line 36 of file cbuild_dep.hpp.
|
inline |
Definition at line 43 of file cbuild_dep.hpp.
References headers_dir, path, and target_id.
|
inlineoverridevirtual |
Implements CBuild::Dependency.
Definition at line 57 of file cbuild_dep.hpp.
References CBUILD_CACHE_DIR, and CBUILD_PROJECT_DEPS_HEADERS.
|
inline |
Definition at line 131 of file cbuild_dep.hpp.
References CBuild::exit(), CBuild::print(), CBuild::RED, and CBuild::system().
Referenced by prepare().
|
inlineoverridevirtual |
Implements CBuild::Dependency.
Definition at line 61 of file cbuild_dep.hpp.
References CBUILD_BUILD_DIR, CBUILD_CACHE_DIR, CBUILD_METADATA_FILE_EXTENSION, CBUILD_PROJECT_DEPS_DIR, CBuild::target_metadata_file::out, and CBuild::read_target_metadata_direct().
|
inlineoverridevirtual |
Implements CBuild::Dependency.
Definition at line 48 of file cbuild_dep.hpp.
References CBUILD_BUILD_DIR, CBUILD_CACHE_DIR, CBUILD_METADATA_FILE_EXTENSION, CBUILD_PROJECT_DEPS_DIR, CBuild::fs::exists(), CBuild::target_metadata_file::out, and CBuild::read_target_metadata_direct().
|
inlineoverridevirtual |
Implements CBuild::Dependency.
Definition at line 72 of file cbuild_dep.hpp.
References CBuild::target_metadata_file::cargs, CBUILD_BUILD_CACHE_DIR, CBUILD_BUILD_DIR, CBUILD_BUILD_OUT_DIR, CBUILD_CACHE_DIR, CBUILD_METADATA_FILE_EXTENSION, CBUILD_METADATA_FOLDER, CBUILD_PROJECT_DEPS_DIR, CBUILD_PROJECT_DEPS_HEADERS, compile(), CBuild::target_metadata_file::compiler, CBuild::fs::copy(), CBuild::fs::create(), CBuild::fs::DIR, CBuild::fs::dir(), CBuild::GREEN, CBuild::target_metadata_file::largs, CBuild::target_metadata_file::linker, CBuild::MAGENTA, CBuild::source_metadata_file::object, CBuild::target_metadata_file::out, CBuild::print(), CBuild::print_full(), CBuild::read_file_metadata_direct(), CBuild::read_target_metadata_direct(), CBuild::RED, and CBuild::source_metadata_file::source.
|
protected |
Definition at line 40 of file cbuild_dep.hpp.
Referenced by CBuildDependency().
|
protected |
Definition at line 38 of file cbuild_dep.hpp.
Referenced by CBuildDependency().
|
protected |
Definition at line 39 of file cbuild_dep.hpp.
Referenced by CBuildDependency().