CBuild
C++ build system with scripts written in c++
Loading...
Searching...
No Matches
environment.hpp
Go to the documentation of this file.
1
22#ifndef __CBUILD_ENVIRONMENT_HPP__
23#define __CBUILD_ENVIRONMENT_HPP__
24// C++ libraries
25#include "string"
26// Code
27namespace CBuild {
35void add_env_var(std::string var, std::string value);
42std::string remove_env_var(std::string var);
49void change_env_var(std::string var, std::string new_value);
50} // namespace CBuild
51#endif // __CBUILD_ENVIRONMENT_HPP__
Filebuffer for CBuild ecosystem.
Definition Build.hpp:34
std::string remove_env_var(std::string var)
Remove registered environment var.
Definition system.cpp:90
void change_env_var(std::string var, std::string new_value)
Change value for environment var.
Definition system.cpp:95
void add_env_var(std::string var, std::string value)
Add environment variable to CBuild::system and CBuild::system_piped calls.
Definition system.cpp:87