summaryrefslogtreecommitdiffstats
path: root/project.4coder
blob: 7e98a29c260169ca7d0e9206cf5cbad09fbb6714 (plain) (blame)
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
version(2);
project_name = "tb";
patterns =
{
    "*.c",
    "*.cpp",
    "*.h",
    "*.bat",
    "*.sh",
    "*.4coder",
};

blacklist_patterns =
{
    ".*",
};

load_paths_base =
{
    { ".",           .relative = true, .recursive = true, },
    { "./src",       .relative = true, .recursive = true, },
    { "./src/code",  .relative = true, .recursive = true, },
    { "./src/base",  .relative = true, .recursive = true, },
    { "./libraries", .relative = true, .recursive = true, },
};

load_paths =
{
    .win = load_paths_base,
    .linux = load_paths_base,
    .mac = load_paths_base,
};

commands =
{
    .build = {
        .out = "*compilation*", .footer_panel = false, .save_dirty_files = true,
        .win = "build.bat",
        .linux = "./build.sh",
        .mac = "./build.sh",
    },
    .run = {
        .out = "*run*", .footer_panel = false, .save_dirty_files = true,
        .win = "build\\program.exe",
        .linux = "build/tb",
        .mac = "build/tb",
    },
};

fkey_command[1] = "build";
fkey_command[2] = "run";