Skip to content

cmake_external: allow user to suppress computed cache entries#224

Merged
irengrig merged 1 commit intobazel-contrib:masterfrom
irengrig:suppress-cache-entries
Feb 7, 2019
Merged

cmake_external: allow user to suppress computed cache entries#224
irengrig merged 1 commit intobazel-contrib:masterfrom
irengrig:suppress-cache-entries

Conversation

@irengrig
Copy link
Copy Markdown
Contributor

@irengrig irengrig commented Feb 7, 2019

If the user passes empty string for some cache entry, for instance,
CMAKE_BUILD_TYPE, then the corresponding computed value
(computed from the Bazel's build type or Bazel C/C++ toolchain)
should not be used.
I.e., user passes "CMAKE_BUILD_TYPE": "", and there will be no
-DCMAKE_BUILD_TYPE in the cmake call.

If the user passes empty string for some cache entry, for instance,
CMAKE_BUILD_TYPE, then the corresponding computed value
(computed from the Bazel's build type or Bazel C/C++ toolchain)
should not be used.
I.e., user passes "CMAKE_BUILD_TYPE": "", and there will be no
-DCMAKE_BUILD_TYPE in the cmake call.
@irengrig irengrig merged commit d8e78e4 into bazel-contrib:master Feb 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant