summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/hana/hana.sublime-project
blob: 5fcd4b1c4548166d0bfd3094387280d5f0b24e28 (plain)
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
{
    "folders":
    [
        {
            "follow_symlinks": true,
            "path": "."
        }
    ],

    "build_systems":
    [
        {
            "name": "[Hana] Build current file",
            "selector": "source.c++",
            "working_dir": "$project_path/build",
            "cmd": ["ruby"
                , "-r", "pathname"
                , "-e", "project = Pathname.new('${project_path}')"
                , "-e", "file = Pathname.new('${file}').relative_path_from(project)"
                , "-e", "target = file.sub_ext('').to_s.gsub('/', '.')"
                , "-e", "system('/usr/local/bin/cmake', '--build', '$project_path/build', '--target', target)"
            ],
            "variants": [
                {
                    "name": "Primary Quick Build",
                    "cmd": ["ruby"
                        , "-r", "pathname"
                        , "-e", "project = Pathname.new('${project_path}')"
                        , "-e", "file = Pathname.new('${file}').relative_path_from(project)"
                        , "-e", "target = file.sub_ext('').to_s.gsub('/', '.')"
                        , "-e", "system('/usr/local/bin/cmake', '--build', '$project_path/build', '--target', target)"
                        , "-e", "system('/usr/local/bin/ctest', '-V', '--output-on-failure', '-R', target)"
                    ]
                }
            ]
        }
    ]
}