| 123456789101112131415161718 |
- @echo off
- set "sourcePath=..\..\..\..\driver\src\LIB"
- set "destinationPath=..\..\..\..\driver\src"
- for /r %%F in (*.uvproj) do (
- findstr "<MemoryModel>2</MemoryModel>" "%%F" >nul
- if not errorlevel 1 (
- copy /Y "%sourcePath%\RFL.LIB" "%destinationPath%\RF.LIB"
- echo update RF.LIB for large memory model.
- )
- findstr "<MemoryModel>0</MemoryModel>" "%%F" >nul
- if not errorlevel 1 (
- copy /Y "%sourcePath%\RFS.LIB" "%destinationPath%\RF.LIB"
- echo update RF.LIB for small memory model.
- )
- )
|