QGIS/editors/QtCreator/install-win.bat
Nathan Woodrow b76bfdee7e Fix unset var in template install script
Pro Tip: Don't code on the train early in the morning
2017-04-06 02:45:54 +01:00

20 lines
454 B
Batchfile

@ECHO OFF
SET CREATOR=%APPDATA%\QtProject\qtcreator
SET WIZARDS=%CREATOR%\templates\wizards
SET CODESTYLES=%CREATOR%\codestyles\cpp
IF NOT EXIST "%WIZARDS%" (
mkdir "%WIZARDS%"
)
IF NOT EXIST "%WIZARDS%\qgis" (
mklink /J "%WIZARDS%\qgis" %CD%\templates\wizards\qgis
)
IF NOT EXIST "%CODESTYLES%" (
mkdir "%CODESTYLES%"
)
IF NOT EXIST "%CODESTYLES%\qgis_code_style.xml" (
mklink "%CODESTYLES%\qgis_code_style.xml" %CD%\qgis_code_style.xml
)