CBuild
C++ build system with scripts written in c++
Loading...
Searching...
No Matches
ccj.hpp
Go to the documentation of this file.
1
22#ifndef __CBUILD_CCJ_HPP__
23#define __CBUILD_CCJ_HPP__
24// C++ libraries
25#include "string"
26#include "vector"
27// Project includes
28#include "../CBuild_defs.hpp"
29#include "../map.hpp"
30#include "generator.hpp"
31// Code
32namespace CBuild {
39 public:
52 std::vector<std::string>* pargs) override;
58 virtual bool init() override;
59};
60} // namespace CBuild
61#endif // __CBUILD_CCJ_HPP__
#define CBUILD_COMPILE_COMMAND_JSON
Output compile_command.json path.
Generates compile_commands.json.
Definition ccj.hpp:38
ccj_out()
Create new compile_commands.json generator.
Definition ccj.hpp:43
virtual bool init() override
Some init.
virtual void generate(CBuild::RType mode, lib::map< std::string, std::string > *args, std::vector< std::string > *pargs) override
Generate some output.
Base for any generator.
Definition generator.hpp:36
Simple map implementation with some stack operation added.
Definition map.hpp:79
Base class for generator of some output from command sequence.
Custom implementation of map datatype.
Filebuffer for CBuild ecosystem.
Definition Build.hpp:34
RType
Run mode.
Definition CBuild.hpp:34