FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
firebase-cpp-sdk/test_windows_x64.bat at cpp-17-updates · firebase/firebase-cpp-sdk · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
firebase
/
firebase-cpp-sdk
Public
Notifications
You must be signed in to change notification settings
Fork
138
Star
326
Code
Issues
97
Pull requests
37
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
firebase-cpp-sdk
/
test_windows_x64.bat
Copy path
More file actions
More file actions
Latest commit
History
History
History
73 lines (58 loc) · 1.82 KB
Breadcrumbs
firebase-cpp-sdk
/
test_windows_x64.bat
Copy path
File metadata and controls
73 lines (58 loc) · 1.82 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
@
echo
off
REM
!/bin/bash
REM
REM
Copyright 2019 Google LLC
REM
REM
Licensed under the Apache License, Version 2.0 (the "License");
REM
you may not use this file except in compliance with the License.
REM
You may obtain a copy of the License at
REM
REM
http://www.apache.org/licenses/LICENSE-2.0
REM
REM
Unless required by applicable law or agreed to in writing, software
REM
distributed under the License is distributed on an "AS IS" BASIS,
REM
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
REM
See the License for the specific language governing permissions and
REM
limitations under the License.
REM
REM
Builds and packs firebase unity meant to be used on a Windows environment.
SETLOCAL
SET
status
=
0
set
PROTOBUF_SRC_ROOT_FOLDER
=
%PROTOBUF_SRC_ROOT_FOLDER:
\
=
/
%
IF
EXIST
"
C:\Program Files\OpenSSL-Win64
"
(
SET
OPENSSL_x64
=
C:/Program Files/OpenSSL-Win64
)
ELSE
(
ECHO
ERROR: Cant find open ssl x64
EXIT
/B
-1
)
CALL
:
BUILD
x64,
"
%OPENSSL_x64%
"
,
"
-A x64
"
if
%errorlevel%
neq
0
(SET status=
%errorlevel%
)
EXIT
/B
%status%
:
BUILD
ECHO
#################################################################
DATE
/T
TIME
/T
ECHO
Building config '
%~1
' with option '
%~3
'.
ECHO
#################################################################
@
echo
on
mkdir
windows_
%~1
pushd
windows_
%~1
cmake .. -DFIREBASE_CPP_BUILD_TESTS=ON -DPROTOBUF_SRC_ROOT_FOLDER=
%PROTOBUF_SRC_ROOT_FOLDER%
-DOPENSSL_ROOT_DIR=
"
%~2
"
%~3
::
Check for errors, and return if there were any
if
%errorlevel%
neq
0
(
popd
@
echo
off
exit
/b
%errorlevel%
)
cmake --build . --config Debug
::
Again, check for errors, and return if there were any
if
%errorlevel%
neq
0
(
popd
@
echo
off
exit
/b
%errorlevel%
)
::
Run the tests
ctest --verbose
%CTEST_SKIP_FILTER%
popd
@
echo
off
EXIT
/B
%errorlevel%
Back
|
FazBrowse Home
|
New Git URL