|
CBuild
C++ build system with scripts written in c++
|
Custom system() wraper. More...
#include "string"#include "vector"Go to the source code of this file.
Namespaces | |
| namespace | CBuild |
| Filebuffer for CBuild ecosystem. | |
Functions | |
| int | CBuild::system (std::string cmd) |
| Call stdlib system() and print cmd to shell. | |
| std::string | CBuild::system_piped (std::string cmd, unsigned int buffsize) |
| Execute command and return it's output. | |
| std::vector< std::string > * | CBuild::get_log () |
| Get the internall command log. | |
| void | CBuild::disable_system () |
| Disable system commands execution. | |
| void | CBuild::enable_system () |
| Reanable system commands execution, used only in pkg-config. | |
| bool | CBuild::is_system_enabled () |
| Check if CBuild::system enabled. | |
Custom system() wraper.
@license GPL v3.0 or later
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 system.hpp.