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

CBuild internal generators implementation. More...

#include "array"
#include "fstream"
#include "iostream"
#include "string"
#include "string_view"
#include "vector"
#include "../../headers/CBuild.hpp"
#include "../../headers/filebuff.hpp"
#include "../../headers/filesystem++.hpp"
#include "../../headers/generator/ccj.hpp"
#include "../../headers/generator/makefile.hpp"
#include "../../headers/map.hpp"
#include "../../headers/print.hpp"
#include "../../headers/register.hpp"
#include "../../headers/system.hpp"

Go to the source code of this file.

Classes

struct  CBuild::cmd
 Command for compile_commands.json. More...
 

Namespaces

namespace  CBuild
 Filebuffer for CBuild ecosystem.
 

Functions

std::string CBuild::eval_cmd (std::array< std::string, 4 > data)
 Evaluate compilation cmd.
 
std::string CBuild::preprocess_json_str (std::string_view str)
 Preprocess string for json.
 

Detailed Description

CBuild internal generators implementation.

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

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 generator.cpp.