CBuild
C++ build system with scripts written in c++
Loading...
Searching...
No Matches
Namespaces | Functions
environment.hpp File Reference

Set environment variables. More...

#include "string"

Go to the source code of this file.

Namespaces

namespace  CBuild
 Filebuffer for CBuild ecosystem.
 

Functions

void CBuild::add_env_var (std::string var, std::string value)
 Add environment variable to CBuild::system and CBuild::system_piped calls.
 
std::string CBuild::remove_env_var (std::string var)
 Remove registered environment var.
 
void CBuild::change_env_var (std::string var, std::string new_value)
 Change value for environment var.
 

Detailed Description

Set environment variables.

Author
WolodiaM (w_mel.nosp@m.nyk@.nosp@m.outlo.nosp@m.ok.c.nosp@m.om)
Date
2023-10-30

Copyright (C) 2023 WolodiaM This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Definition in file environment.hpp.