Add messages.json, update vcvarsall handling because of package load order

This commit is contained in:
Krzosa Karol
2023-01-22 19:06:10 +01:00
parent f406ebbcb9
commit a6732fc38b
3 changed files with 7 additions and 3 deletions

View File

@@ -26,7 +26,6 @@ Launch Sublime (maybe you will need Package Control + and call Package Control:
Optional: Optional:
* add vc_vars_cmd to your settings,
* add remedy_executable to your settings if remedybg is not on your path or has different name. * add remedy_executable to your settings if remedybg is not on your path or has different name.
### Remedy build system ### Remedy build system
@@ -56,10 +55,12 @@ you will need to add a field called ```remedy_build_system```, here is an exampl
] ]
} }
``` ```
### Setting up Microsoft compiler enviroment with vcvarsall.bat
### vcvarsall addon If you are developing using remedybg it seems pretty obvious that you would want access to the Microsoft compiler so additionally the package is shipping with the ```setup_vsvars.py```. You can find it in the ```other``` folder. It sets up the vcvarsall paths for you, it was created by one of the sublime developers, I found it on Stack Overflow. You need to:
If you are developing using remedybg it seems pretty obvious that you would want access to the Microsoft compiler so additionally the package is shipping with the ```setup_vsvars.py``` (which I'm not sure I will be able to smuggle through package control). It sets up the vcvarsall paths for you, it was created by one of the sublime developers and it was hidden in an obsure repo. To make it work you need to add ```vc_vars_cmd``` to your settings, it needs to point at your vcvarsall: * Copy it into your User folder ```copy "%appdata%\Sublime Text\Packages\Sublime_RemedyBG\other\setup_vsvars.py" "%appdata%\Sublime Text\Packages\User\setup_vsvars.py"```
* Add to your settings:
``` ```
"vc_vars_cmd": C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvarsall.bat, "vc_vars_cmd": C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvarsall.bat,

3
messages.json Normal file
View File

@@ -0,0 +1,3 @@
{
"install": "README.md"
}