CBuild
C++ build system with scripts written in c++
|
Main headers of CBuild core. More...
Go to the source code of this file.
Namespaces | |
namespace | CBuild |
Filebuffer for CBuild ecosystem. | |
Enumerations | |
enum | CBuild::RType { CBuild::TASK , CBuild::BUILD , CBuild::RUN , CBuild::BUILD_RUN , CBuild::DEBUG , CBuild::CLEAR , CBuild::REBUILD , CBuild::LOAD_DEPS , CBuild::ERROR } |
Run mode. More... | |
Functions | |
RType | CBuild::parse (lib::map< std::string, std::string > *args, int argc, char **argv) |
Parse arguments. | |
void | CBuild::loop (RType mode, lib::map< std::string, std::string > *args) |
loop of CBuild | |
void | CBuild::rebuild (std::string scripts) |
Rebuild userspace part of CBuild. | |
std::string | CBuild::get_version_string () |
Return version as string. | |
int | CBuild::get_version_major () |
Get major component of CBuild version. | |
int | CBuild::get_version_minor () |
Get minor component of CBuild version. | |
int * | CBuild::get_version_array () |
Get full CBuild version as int array of two components, no oveflow or rewrite check ! | |
std::string | CBuild::get_random_string (unsigned int length) |
Generate random string with specified range, on Linux can use /dev/urandom. | |
Main headers of CBuild core.
@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 CBuild.hpp.