Blame view

3rdparty/boost_1_81_0/libs/hana/hana.sublime-project 1.39 KB
66d54af3   Hu Chunming   提交_GLIBCXX_USE_CX...
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)"
                      ]
                  }
              ]
          }
      ]
  }