Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
756ba1c8
提交
756ba1c8
authored
1月 17, 2014
作者:
Jeff Lenk
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
FS-6102 --resolve
上级
edad7443
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
88 行增加
和
0 行删除
+88
-0
Freeswitch.2012.sln.bat
Freeswitch.2012.sln.bat
+88
-0
没有找到文件。
Freeswitch.2012.sln.bat
0 → 100644
浏览文件 @
756ba1c8
@REM this script builds freeswitch using VS2012
@REM only one platform/configuration will be built
@REM runs (probably only) from the commandline
@REM usage: Freeswitch.2012.sln [[[.*]ebug] [[.*]elease] [[.*]64] [[.*]32]]
@REM e.g. Freeswitch.2012.sln Debug x64
@REM Freeswitch.2012.sln x64
@REM Freeswitch.2012.sln Debug
@REM Freeswitch.2012.sln
@setlocal
@echo on
@REM default build
@REM change these variables if you want to build differently by default
@set configuration=Release
@set platform=Win32
@REM if commandline parameters contain "ebug" and/or "64 and/or 32"
@REM set the configuration/platform to Debug and/or x64 and/or 32
@if "%1"=="" (
@goto :paramsset
)
@set params=%*
@set xparams=x%params: =%
@if not y%xparams:ebug=%==y%xparams% (
set configuration=Debug
)
@if not x%xparams:64=%==x%xparams% (
set platform=x64
)
@if not x%xparams:32=%==x%xparams% (
set platform=Win32
)
@if not y%xparams:elease=%==y%xparams% (
set configuration=Debug
)
:paramsset
@REM use all processors minus 1 when building
@REM hmm, this doesn't seem to work as I expected as all my procs are used during the build
@set procs=%NUMBER_OF_PROCESSORS%
@set /a procs -= 1
@REM check and set VS2012 environment
@REM vcvars32.bat calls exit and will also exit whilie running this bat file ...
@REM so you have to run it again if the VS2012 env is not yet set
@if "%VS110COMNTOOLS%"=="" (
goto :error_no_VS110COMNTOOLSDIR
)
@if "%VSINSTALLDIR%"=="" (
goto :setvcvars
)
:build
msbuild Freeswitch.2012.sln /m:%procs% /verbosity:normal /property:Configuration=%configuration% /property:Platform=%platform% /fl /flp:logfile=vs2012%platform%%configuration%.log;verbosity=normal
@goto :end
@REM -----------------------------------------------------------------------
:setvcvars
@endlocal
@echo Now setting Visual Studio 2012 Environment
@call "%VS110COMNTOOLS%vsvars32"
@REM in order to prevent running vsvars32 multiple times and at the same time not
@REM cluttering up the environment variables proc/configuration/platform
@REM it is necessary to start the script again
@echo Run the script %0 again (and/or open a command prompt)
@goto :end
:error_no_VS110COMNTOOLSDIR
@echo ERROR: Cannot determine the location of the VS2012 Common Tools folder.
@echo ERROR: Note this script will not work in a git bash environment
@goto :end
:end
@pause
@REM ------ terminate :end with LF otherwise the label is not recognized by the command processor -----
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论