From 6ad6e64b441bc3160f9bcf6c9578d2e93aa59124 Mon Sep 17 00:00:00 2001 From: Baudouin Raoult Date: Fri, 17 Mar 2017 18:46:27 +0000 Subject: [PATCH] Update sublime text project --- eccodes.sublime-project | 55 +++++++++++++++++++++++++++++------------ 1 file changed, 39 insertions(+), 16 deletions(-) diff --git a/eccodes.sublime-project b/eccodes.sublime-project index e3f210b60..8d5cd6bf6 100644 --- a/eccodes.sublime-project +++ b/eccodes.sublime-project @@ -1,18 +1,41 @@ { - "folders": [ - { - "path": ".", - "follow_symlinks": true - } - ], - "build_systems": [ - { - "working_dir": "${project_path}/../../build/eccodes", - "cmd": [ - "make" - ], - "file_regex": "([/\\w\\-\\.]+):(\\d+):(\\d+:)?", - "name": "ecbuild" - } - ] + "build_systems": + [ + { + "file_regex": "([/\\w\\-\\.]+):(\\d+):(\\d+:)?", + "name": "eccodes", + "shell_cmd": "make", + "syntax": "Packages/CMakeBuilder/Syntax/Make.sublime-syntax", + "variants": + [ + { + "name": "clean", + "shell_cmd": "make clean" + }, + ], + "working_dir": "${project_path}/../../build/eccodes" + }, + { + "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", + "name": "Anaconda Python Builder", + "selector": "source.python", + "shell_cmd": "\"python\" -u \"$file\"" + } + ], + "cmake": + { + "build_folder": "${project_path}/../../build/eccodes", + "command_line_overrides": + { + "DEVELOPER_MODE": 1, + "ENABLE_MEMFS": 1 + } + }, + "folders": + [ + { + "follow_symlinks": true, + "path": "." + } + ] }