1
2
3
4 #include <cmajor/build/BuildLangKeywords.hpp>
5 #include <cmajor/build/BuildLangTokens.hpp>
6
7 namespace BuildLangKeywords
8 {
9 using namespace BuildLangTokens;
10
11 Keyword keywords[] =
12 {
13 {U"add", ADD}
14 {U"remove", REMOVE}
15 {U"run", RUN}
16 {U"host", HOST}
17 {U"port", PORT}
18 {U"configuration", CONFIGURATION}
19 {U"default", DEFAULT}
20 {U"toolchain", TOOLCHAIN}
21 {U"clang", CLANG}
22 {U"gcc", GCC}
23 {U"vs", VS}
24 {U"push", PUSH}
25 {U"build", BUILD}
26 {U"show", SHOW}
27 {U"debug", DEBUG}
28 {U"release", RELEASE}
29 {U"install", INSTALL}
30 {U"to", TO}
31 {U"from", FROM}
32 {U"using", USING}
33 {U"server", SERVER}
34 {U"verbose", VERBOSE}
35 {U"messages", MESSAGES}
36 {U"force", FORCE}
37 {U"only", ONLY}
38 {U"all", ALL}
39 {U"rebuild", REBUILD}
40 {U"config", CONFIG}
41 {nullptr, -1}
42 };
43
44 KeywordMap keywordMap(keywords);
45
46 KeywordMap* GetKeywordMap()
47 {
48 return &keywordMap;
49 }
50 }