2021-04-26 13:45:29 +00:00
|
|
|
@echo off
|
|
|
|
setlocal ENABLEDELAYEDEXPANSION ENABLEEXTENSIONS
|
|
|
|
set script_dir_path=%~dp0
|
|
|
|
set script_dir_path=%script_dir_path:~0,-1%
|
|
|
|
|
2023-04-13 17:26:15 +00:00
|
|
|
rem add the drive letter to the source_dir_path,
|
|
|
|
rem by removing the path argument, expanding it, and adding it back
|
|
|
|
set source_dir_path=%~dpnx1
|
|
|
|
set args=%*
|
|
|
|
set args=%args:* =%
|
|
|
|
set args=%source_dir_path% %args%
|
|
|
|
|
2021-04-26 13:45:29 +00:00
|
|
|
set cmake_scripts_dir=%script_dir_path%
|
|
|
|
|
2021-06-14 14:58:33 +00:00
|
|
|
set relative_bin_dir=@relative_path_from_libexec_dir_to_bin_dir@
|
|
|
|
if NOT "%relative_bin_dir%" == "" (
|
|
|
|
set relative_bin_dir="%relative_bin_dir%"\
|
|
|
|
)
|
|
|
|
|
|
|
|
call "%script_dir_path%"\%relative_bin_dir%"qt-cmake.bat" ^
|
2023-04-13 17:26:15 +00:00
|
|
|
@script_passed_args@ %args%
|