diff --git a/README.md b/README.md index e8cbd12..791d606 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,6 @@ Launch Sublime (maybe you will need Package Control + and call Package Control: 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. ### 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, diff --git a/messages.json b/messages.json new file mode 100644 index 0000000..baac15a --- /dev/null +++ b/messages.json @@ -0,0 +1,3 @@ +{ + "install": "README.md" +} \ No newline at end of file diff --git a/setup_vsvars.py b/other/setup_vsvars.py similarity index 100% rename from setup_vsvars.py rename to other/setup_vsvars.py