Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Courses
Scotty3D
Commits
bbb55ea3
Commit
bbb55ea3
authored
Feb 17, 2021
by
TheNumbat
Browse files
buildtools in build_win
parent
5ca3e1eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
build_win.bat
View file @
bbb55ea3
@echo
off
@echo
off
if
exist
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
(
call
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
>
NUL
2
>
NUL
call
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
>
NUL
2
>
NUL
)
else
if
exist
"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
(
call
"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
>
NUL
2
>
NUL
)
else
(
rem "Could not find visual studio C++ build environment."
)
mkdir
build
mkdir
build
pushd
build
pushd
build
cmake
..
cmake
..
if
"
%
1"
==
"configure"
exit
if
"
%
1"
==
"configure"
exit
if
[
%
1
]==[]
(
cmake
--build
.
--config
RelWithDebInfo
)
if
[
%
1
]==[]
(
cmake
--build
.
--config
RelWithDebInfo
)
if
not
[
%
1
]==[]
(
cmake
--build
.
--config
%
1
)
if
not
[
%
1
]==[]
(
cmake
--build
.
--config
%
1
)
popd
popd
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment