@echo off rem Creo 7.0 SDK first (covers Creo 7.0~10.0), fallback to Creo 8.0 SDK if exist "%~dp0sdk7\protoolkit\includes" ( set "PROTOOL_SRC=%~dp0sdk7\protoolkit" ) else ( set "PROTOOL_SRC=C:\PROGRA~1\PTC\CREO80~1.0\COMMON~1\PROTOO~1" ) set "PROTOOL_SYS=%PROTOOL_SRC%\x86e_win64" call "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvars64.bat" nmake /f makefile_short %*