commit | cb14ae2b870e9568d18990992882e0facacf22d4 | [log] [tgz] |
---|---|---|
author | Matthew Woehlke <matthew.woehlke@kitware.com> | Wed Sep 21 13:34:02 2022 -0400 |
committer | Matthew Woehlke <matthew.woehlke@kitware.com> | Thu Sep 22 13:33:27 2022 -0400 |
tree | b7c203b809fe854610a36b0d97b6299b9d9e18cc | |
parent | 620cf9efa78c8862558ac321c043194d1cb6eb19 [diff] |
try_compile: Add SOURCE_FROM_{ARG,VAR} Add ability to "feed" try_compile (and try_run) sources more directly, either from literal content, or from a CMake variable which contains literal content. This saves the user from needing a separate step to write the content to a file, and allows for the sources to only exist in the scratch directory.