日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

混合编译

發布時間:2024/4/13 编程问答 27 豆豆
生活随笔 收集整理的這篇文章主要介紹了 混合编译 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

為什么80%的碼農都做不了架構師?>>> ??


build.bat

@echo offecho. echo 編譯vc7模塊 call build7.bat IF %ERRORLEVEL% NEQ 0 GOTO ERRORecho. echo 編譯vc6模塊 call build6.bat IF %ERRORLEVEL% NEQ 0 GOTO ERRORecho. echo Succeeded! exit 0:ERROR echo. echo Failed! exit 1


build7.bat

@echo off setlocal @rem Root of Visual Studio common files.@if "%VSINSTALLDIR%"=="" goto Usage @if "%VCINSTALLDIR%"=="" set VCINSTALLDIR=%VSINSTALLDIR%@rem @rem Root of Visual Studio ide installed files. @rem @set DevEnvDir=%VSINSTALLDIR%@rem @rem Root of Visual C++ installed files. @rem @set MSVCDir=%VCINSTALLDIR%VC7@rem @echo Setting environment for using Microsoft Visual Studio .NET 2003 tools. @echo (If you have another version of Visual Studio or Visual C++ installed and wish @echo to use its tools from the command line, run vcvars32.bat for that version.) @rem@REM %VCINSTALLDIR%Common7Tools dir is added only for real setup.@set PATH=%DevEnvDir%;%MSVCDir%BIN;%VCINSTALLDIR%Common7Tools;%VCINSTALLDIR%Common7Toolsbinprerelease;%VCINSTALLDIR%Common7Toolsbin;%FrameworkSDKDir%bin;%FrameworkDir%%FrameworkVersion%;%PATH%; @set INCLUDE=%MSVCDir%ATLMFCINCLUDE;%MSVCDir%INCLUDE;%MSVCDir%PlatformSDKincludeprerelease;%MSVCDir%PlatformSDKinclude;%FrameworkSDKDir%include;%INCLUDE% @set LIB=%MSVCDir%ATLMFCLIB;%MSVCDir%LIB;%MSVCDir%PlatformSDKlibprerelease;%MSVCDir%PlatformSDKlib;%FrameworkSDKDir%lib;%LIB%@goto end:Usage@echo. VSINSTALLDIR variable is not set. @echo. @echo SYNTAX: %0@goto end:end@echo offecho start build echo.@remecho. echo Building "API Unicode Release MinDependency|win32" ... ... devenv top.sln /rebuild release /project APIAPI.vcproj /projectconfig "Unicode Release MinDependency|win32" IF %ERRORLEVEL% NEQ 0 GOTO ERRORecho. echo Building "seg release|win32" ... ... devenv top.sln /rebuild release /project segseg.vcproj /projectconfig "release|win32" IF %ERRORLEVEL% NEQ 0 GOTO ERROR@remecho. echo Succeeded! GOTO END:ERROR echo. ECHO Failed! GOTO END:END endlocal


build6.bat

@echo off setlocal rem rem VcOsDir is used to help create either a Windows 95 or Windows NT specific path. rem set VcOsDir=WIN95 if "%OS%" == "Windows_NT" set VcOsDir=WINNTrem echo Setting environment for using Microsoft Visual C++ tools. remif "%OS%" == "Windows_NT" set PATH=%MSDevDir%BIN;%MSVCDir%BIN;%VSCommonDir%TOOLS%VcOsDir%;%VSCommonDir%TOOLS;%PATH% if "%OS%" == "" set PATH="%MSDevDir%BIN";"%MSVCDir%BIN";"%VSCommonDir%TOOLS%VcOsDir%";"%VSCommonDir%TOOLS";"%windir%SYSTEM";"%PATH%" set INCLUDE=%MSVCDir%ATLINCLUDE;%MSVCDir%INCLUDE;%MSVCDir%MFCINCLUDE;%INCLUDE% set LIB=%MSVCDir%LIB;%MSVCDir%MFCLIB;%LIB%set VcOsDir= set VSCommonDir=@echo offecho start build echo.echo. echo Building "Adapter - Win32 Release" ... ... msdev AdapterAdapter.dsp /MAKE "Adapter - Win32 Release" /REBUILD /NORECURSE echo. IF %ERRORLEVEL% NEQ 0 GOTO ERRORecho. echo Building "Ext - Win32 Release MinDependency" ... ... msdev ExtExt.dsp /MAKE "Ext - Win32 Release MinDependency" /REBUILD /NORECURSE echo. IF %ERRORLEVEL% NEQ 0 GOTO ERRORecho. echo Succeeded! GOTO END:ERROR echo. ECHO Failed! GOTO END:END endlocal

轉載于:https://my.oschina.net/tadcat/blog/147884

總結

以上是生活随笔為你收集整理的混合编译的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。