summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/hana/hana.sublime-project
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/hana/hana.sublime-project')
-rw-r--r--src/boost/libs/hana/hana.sublime-project38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/boost/libs/hana/hana.sublime-project b/src/boost/libs/hana/hana.sublime-project
new file mode 100644
index 000000000..5fcd4b1c4
--- /dev/null
+++ b/src/boost/libs/hana/hana.sublime-project
@@ -0,0 +1,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)"
+ ]
+ }
+ ]
+ }
+ ]
+}