2 :: Licensed under the Apache License
, Version
2.0 (the
"License");
3 :: you may
not use this file except in compliance with the License.
4 :: You may obtain a
copy of the License at
6 :: http
://www.apache.org
/licenses
/LICENSE
-2.0
8 :: Unless required by applicable law or agreed to in writing
, software
9 :: distributed under the License is distributed on an
"AS IS" BASIS
,
10 :: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND
, either express or implied.
11 :: See the License
for the specific language governing permissions and
12 :: limitations under the License.
16 :: Build script example
for inside the windows docker container
18 :: C
:\build is the out
-of
-tree build directory
19 :: C
:\install is the location where artifacts are placed
20 :: C
:\thrift is where the sources are
23 :: Make and go into the out
-of
-tree directory
24 IF NOT EXIST C
:\build
(MKDIR C
:\build
)
27 :: Generate the out
-of
-tree build
files
29 -DBOOST_ROOT
=C
:\Libraries
\boost_
1_
69_
0^
30 -DBOOST_LIBRARYDIR
=C
:\Libraries
\boost_
1_
69_
0\lib64
-msvc
-14.1^
31 -DBUILD_LIBRARIES
=OFF^
32 -DCMAKE_BUILD_TYPE
=Release^
33 -DCMAKE_INSTALL_PREFIX
=C
:\install^
38 cmake
--build .
--target thrift
-compiler
--config Release ||
EXIT /B
41 cmake
--build .
--target check ||
EXIT /B
44 cmake
--build .
--target install