32 Star 142 Fork 49

10km / feature_se

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.bat 1.17 KB
一键复制 编辑 原始数据 按行查看 历史
10km 提交于 2019-02-23 11:47 . update README.md
echo off
echo build feature_se by VS2015
if not defined VS140COMNTOOLS (
echo vs2015 NOT FOUND.
exit /B -1
)
echo vs2015 found.
where cmake
if errorlevel 1 (
echo cmake NOT FOUND.
exit /B -1
)
echo cmake found
where java
if errorlevel 1 (
echo java NOT FOUND.
exit /B -1
)
echo java found
set sh_folder=%~dp0
rem 定义编译的版本类型(DEBUG|RELEASE)
set build_type=RELEASE
rem 如果输入参数1为"DEBUG"(不区分大小写)则编译DEBUG版本
if /I "%1" == "DEBUG" ( set build_type=DEBUG)
echo build_type=%build_type%
pushd %sh_folder%
:msvc_x86_64
echo build x86_64
if exist build_msvc rmdir build_msvc /s/q
mkdir build_msvc
pushd build_msvc
if not defined VisualStudioVersion (
echo make MSVC environment ...
call "%VS140COMNTOOLS%..\..\vc/vcvarsall" x86_amd64
)
echo creating x86_64 Project for Visual Studio 2015 ...
cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=%build_type% ^
-DCMAKE_INSTALL_PREFIX=%sh_folder%release\fse_windows_x86_64 .. ^
-DEXT_SDK_TYPE=CASSDK
nmake install
rem cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_INSTALL_PREFIX=%sh_folder%release\fse_windows_x86_64 ..
rem devenv feature_se.sln /Build "%build_type%|X64" /Project INSTALL
popd
rmdir build_msvc/s/q
popd
C++
1
https://gitee.com/l0km/feature_se.git
git@gitee.com:l0km/feature_se.git
l0km
feature_se
feature_se
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891