forked from RobotLocomotion/drake
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure CMake RelWithDebInfo and MinSizeRel configurations behave as e…
…xpected
- Loading branch information
Jamie Snape
committed
Jan 22, 2019
1 parent
b9d4301
commit 1e1a572
Showing
2 changed files
with
105 additions
and
34 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 |
---|---|---|
@@ -1,15 +1,27 @@ | ||
# 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. | ||
# cmake/bazel.rc.in. | ||
|
||
# To use this file directly with Bazel call: | ||
# bazel --bazelrc=@CMAKE_CURRENT_BINARY_DIR@/bazel.rc <command> <options> | ||
# | ||
# bazel --bazelrc=@CMAKE_CURRENT_BINARY_DIR@/bazel.rc <command> --config <cfg> <options> | ||
# | ||
# where <cfg> is Debug, MinSizeRel, Release, or RelWithDebInfo. | ||
|
||
# N.B. Please keep these alphabetized. | ||
|
||
build --action_env=DRAKE_PYTHON_BIN_PATH=@PYTHON_EXECUTABLE@ | ||
build --compilation_mode=@BAZEL_COMPILATION_MODE@ | ||
build --color=@BAZEL_COLOR@ | ||
build --python_path=@PYTHON_EXECUTABLE@ | ||
build --subcommands=@BAZEL_SUBCOMMANDS@ | ||
build --symlink_prefix=/ | ||
|
||
@MAYBE_BAZEL_CONFIG@ | ||
@MAYBE_BAZEL_DEFINE@ | ||
|
||
build:Debug --compilation_mode=dbg | ||
build:MinSizeRel --compilation_mode=opt @MAYBE_BAZEL_COPT_OS@ | ||
build:Release --compilation_mode=opt | ||
build:RelWithDebInfo --compilation_mode=opt @MAYBE_BAZEL_COPT_G@ | ||
|
||
startup --output_base=@BAZEL_OUTPUT_BASE@ |