13 lines
454 B
Batchfile
13 lines
454 B
Batchfile
@echo off
|
|
:: VS 2019 x64 开发者环境
|
|
call "D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat" >nul 2>&1
|
|
cd /d "g:\project\dllTest\TS660_DLL"
|
|
:: 编译调试程序
|
|
cl /nologo /EHsc /W3 /std:c++17 /utf-8 ^
|
|
/I. ^
|
|
TS660_Debug.cpp SerialPort.cpp TS660DDG.cpp ^
|
|
/link /OUT:TS660_Debug.exe user32.lib
|
|
del /q TS660_Debug.obj SerialPort.obj TS660DDG.obj *.vcxproj.* 2>nul
|
|
echo.
|
|
echo === Build complete ===
|