Build changes
This commit is contained in:
25
build.cmd
Normal file
25
build.cmd
Normal file
@@ -0,0 +1,25 @@
|
||||
@echo off
|
||||
set ROOT=%~dp0%
|
||||
set TARGET_MODE=%1
|
||||
pushd "%ROOT%"
|
||||
|
||||
set CMAKE=%ROOT%bin\cmake-3.7.2-win64-x64\bin\cmake
|
||||
|
||||
setlocal
|
||||
call build_common.cmd
|
||||
endlocal
|
||||
|
||||
setlocal
|
||||
call 3rd_party\CEF\create.cmd %TARGET_MODE%
|
||||
endlocal
|
||||
|
||||
mkdir build > NUL
|
||||
mkdir build\%TARGET_MODE% > NUL
|
||||
pushd build\%TARGET_MODE% > NUL
|
||||
(%CMAKE% -G "Visual Studio 14 2015 Win64" -DCMAKE_BUILD_TYPE=%TARGET_MODE% -DSIADRIVE_INSTALL_FOLDER="%ROOT%dist\%TARGET_MODE%" ..\..) && (
|
||||
%CMAKE% --build . --config %TARGET_MODE%) && (
|
||||
%CMAKE% --build . --target install --config %TARGET_MODE%
|
||||
)
|
||||
popd
|
||||
|
||||
popd
|
Reference in New Issue
Block a user