23#ifndef __CBUILD_CORE_HPP__
24#define __CBUILD_CORE_HPP__
91void rebuild(std::string scripts);
Simple map implementation with some stack operation added.
Custom implementation of map datatype.
Filebuffer for CBuild ecosystem.
std::string get_version_string()
Return version as string.
int * get_version_array()
Get full CBuild version as int array of two components, no oveflow or rewrite check !
int get_version_major()
Get major component of CBuild version.
RType parse(lib::map< std::string, std::string > *args, int argc, char **argv)
Parse arguments.
@ REBUILD
Rebuild user executable.
@ ERROR
Some error occurred.
@ DEBUG
Build and run target in debug mode.
@ CLEAR
Clear build output and cache.
@ BUILD_RUN
Build and run target.
@ LOAD_DEPS
Load other project deps.
int get_version_minor()
Get minor component of CBuild version.
std::string get_random_string(unsigned int length)
Generate random string with specified range, on Linux can use /dev/urandom.
void loop(RType mode, lib::map< std::string, std::string > *args)
loop of CBuild
void rebuild(std::string scripts)
Rebuild userspace part of CBuild.