generated from Moxibyte/MoxPP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mox.lua
73 lines (63 loc) · 2.18 KB
/
mox.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
-- === Configuration ===
-- Change the following lines to complete your setup
-- PRODUCT NAME
-- This the name used for the product provided by this repo
-- (On windows used as the solution name)
cmox_product_name = "MoxPP"
-- CONFIGURATIONS
-- The first array _n are the configuration names
-- The second array _d are the configuration debug flags
-- (use true on all debugging configurations)
cmox_configurations_n = {
"Debug",
"Release",
}
cmox_configurations_d = {
true,
false,
}
-- SOURCE FOLDER NAME
cmox_src_folder = "src"
-- PROJECT ARCHITECTURE
-- "single" Only one build.lua file will be loaded.
-- The file needs to be in the src folder.
-- Used for singel project repos
--
-- "flat" The hirarch of the project is flat.
-- build.lua files will be loaded from from
-- subdirs of the src folder. Each dir can
-- be a project.
--
-- "hierarchical" Adds one more indirection layer to the
-- "flat" architecture. The first folder
-- will be the group name. Groups are treatet
-- similar to the flat modell
--
-- "manual" Projects are not loaded by the MoxPP
-- provide the "cmox_function_includeprojects"
-- function.
cmox_project_architecture = "single"
-- MACRO PREFIX
-- This will be prepended to ALL non default macros
cmox_macro_prefix = "MOXPP_"
-- UNITTEST
-- This defines where to find the unit test code.
-- You can set this to nil. When set to nil no test will be configured.
-- You can delete the default test folder then
cmox_unit_test_src = "test"
-- === Custom callback functions ===
-- This is the way to go when implementing custom features
-- This function is called when the workspace is configured
-- function cmox_function_setupworkspace()
-- ...
-- end
-- This function is called for each project when it's beeing configured
-- function cmox_function_setupproject()
-- ...
-- end
-- This function is called in manual configuration to include
-- the project
-- use: include "my-build-file.lua"
-- function cmox_function_includeprojects()
-- ...
-- end