aboutsummaryrefslogtreecommitdiffstats
path: root/packaging-tools/libclang_training/runBatchFiles.bat
blob: 3ccd085452547dfa2d726ec3d402f59aea689286 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
rem set up running Qt Creator

set BasePath=%cd%
set ScriptPath=%~dp0

call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\Build\vcvarsall.bat" x64
set PATH=%BasePath%\qt\lib;%BasePath%\qt\bin;%BasePath%\qtcreator_build\bin;%BasePath%\debugview;%PATH%
set PATH=%PATH%;%BasePath%\logs\

rem set up runBachFiles.py
set QTC_CLANG_BATCH_CONFIG_LOG_DIR=%BasePath%\logs
set QTC_CLANG_BATCH_CONFIG_SETTINGS_DIR=%BasePath%\qtc-settings
set QTC_CLANG_BATCH_CONFIG_TARGET_LIBCLANG=%BasePath%\logs\libclang.dll
set QTC_CLANG_BATCH_CONFIG_LIBCLANGS=%BasePath%\libclang\bin\libclang.dll
set QTC_CLANG_BATCH_CONFIG_FILES=%ScriptPath%\qtc.fileTextEditorCpp.batch

rem run runBatchFiles.py
set
echo
echo --- Running runBatchFiles.py ----
call python.exe %ScriptPath%\runBatchFiles.py