-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7849 from jamiesnape/cmake-bazel-rc
Write Bazel options used by CMake to a bazel.rc file
- Loading branch information
Showing
3 changed files
with
40 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Generated by CMake @CMAKE_VERSION@ for @PROJECT_NAME@. Any changes to this | ||
# file will be overwritten by the next CMake run. The input file was | ||
# tools/cc_toolchain/bazel.rc.in. | ||
|
||
# To use this file directly with Bazel call: | ||
# bazel --bazelrc=@CMAKE_CURRENT_BINARY_DIR@/bazel.rc <command> <options> | ||
|
||
build --compilation_mode=@BAZEL_COMPILATION_MODE@ | ||
build --crosstool_top=@bazel_tools//tools/cpp:toolchain | ||
build --cxxopt=@CMAKE_CXX14_STANDARD_COMPILE_OPTION@ | ||
build --host_cxxopt=@CMAKE_CXX14_STANDARD_COMPILE_OPTION@ | ||
build --python_path=@PYTHON_EXECUTABLE@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters