MinitScript generator.
More...
#include <minitscript/minitscript/Generator.h>
|
static void | generateMain (const string &scriptURI, const string &className, const string &mainURI, bool useLibrary, bool nativeOnly) |
| Generate main CPP file. More...
|
|
static void | generateLibrary (const vector< pair< string, string >> &scriptClassPairs, const string &libraryURI, bool nativeOnly) |
| Generate library CPP file. More...
|
|
static void | generateMakefile (const string &srcPath, const string &makefileURI, bool library, const string &basePath=string(), const vector< string > &excludePaths={}) |
| Generate Makefile. More...
|
|
static void | generateNMakefile (const string &srcPath, const string &makefileURI, bool library, const string &basePath=string(), const vector< string > &excludePaths={}) |
| Generate NMakefile. More...
|
|
|
static void | scanPath (const string &path, vector< string > &sourceFiles, vector< string > &mainSourceFiles) |
| Scan path. More...
|
|
MinitScript generator.
- Author
- Andreas Drewke
Definition at line 18 of file Generator.h.
◆ generateMain()
void generateMain |
( |
const string & |
scriptURI, |
|
|
const string & |
className, |
|
|
const string & |
mainURI, |
|
|
bool |
useLibrary, |
|
|
bool |
nativeOnly |
|
) |
| |
|
static |
Generate main CPP file.
- Parameters
-
scriptURI | script URI |
className | script class name |
mainURI | main C++ file URI |
useLibrary | use library |
nativeOnly | native only |
Definition at line 26 of file Generator.cpp.
◆ generateLibrary()
void generateLibrary |
( |
const vector< pair< string, string >> & |
scriptClassPairs, |
|
|
const string & |
libraryURI, |
|
|
bool |
nativeOnly |
|
) |
| |
|
static |
Generate library CPP file.
- Parameters
-
scriptClassPairs | script class pairs |
libraryURI | library URI |
nativeOnly | native only |
Definition at line 55 of file Generator.cpp.
◆ generateMakefile()
void generateMakefile |
( |
const string & |
srcPath, |
|
|
const string & |
makefileURI, |
|
|
bool |
library, |
|
|
const string & |
basePath = string() , |
|
|
const vector< string > & |
excludePaths = {} |
|
) |
| |
|
static |
Generate Makefile.
- Parameters
-
srcPath | source path |
makefileURI | makefile URI |
library | library |
basePath | base path |
excludePaths | exclude paths |
Definition at line 85 of file Generator.cpp.
◆ generateNMakefile()
void generateNMakefile |
( |
const string & |
srcPath, |
|
|
const string & |
makefileURI, |
|
|
bool |
library, |
|
|
const string & |
basePath = string() , |
|
|
const vector< string > & |
excludePaths = {} |
|
) |
| |
|
static |
Generate NMakefile.
- Parameters
-
srcPath | source path |
makefileURI | makefile URI |
library | library |
basePath | base path |
excludePaths | exclude paths |
Definition at line 140 of file Generator.cpp.
◆ scanPath()
void scanPath |
( |
const string & |
path, |
|
|
vector< string > & |
sourceFiles, |
|
|
vector< string > & |
mainSourceFiles |
|
) |
| |
|
staticprivate |
Scan path.
- Parameters
-
path | path |
sourceFiles | source files |
mainSourceFiles | main source files |
Definition at line 223 of file Generator.cpp.
The documentation for this class was generated from the following files:
- /home/andreas/Development/drewke.net/minitscript/src/minitscript/minitscript/Generator.h
- /home/andreas/Development/drewke.net/minitscript/src/minitscript/minitscript/Generator.cpp