diff options
author | Brad King <brad.king@kitware.com> | 2020-11-24 19:56:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-01-05 14:34:55 (GMT) |
commit | 4b233591179f9fe266e9157ef89e0a97854aa54c (patch) | |
tree | 42e79122cc54c444ee5bf09eb796c4b2bc35c412 /Source/cmRulePlaceholderExpander.h | |
parent | f814d3b3c6f5ba45854da06c341af57bad2590b4 (diff) | |
download | CMake-4b233591179f9fe266e9157ef89e0a97854aa54c.zip CMake-4b233591179f9fe266e9157ef89e0a97854aa54c.tar.gz CMake-4b233591179f9fe266e9157ef89e0a97854aa54c.tar.bz2 |
ninja: Add experimental infrastructure for C++20 module dependency scanning
Optionally enable this infrastructure through an undocumented
`CMAKE_EXPERIMENTAL_CXX_MODULE_DYNDEP` variable. Currently this is
experimental and intended for use by compiler writers to implement their
scanning tools. Warn as such when the feature is activated. Later when
compilers provide the needed scanning tools we can enable this variable
from our corresponding compiler information modules. It is never meant
to be set by project code.
When enabled, generate a build graph similar to what we use for Fortran
module dependencies. There are some differences needed because we can
scan dependencies without explicit preprocessing, and can directly
compile the original source afterward.
Co-Author: Ben Boeckel <ben.boeckel@kitware.com>
Diffstat (limited to 'Source/cmRulePlaceholderExpander.h')
-rw-r--r-- | Source/cmRulePlaceholderExpander.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmRulePlaceholderExpander.h b/Source/cmRulePlaceholderExpander.h index 710f8a6..f8dc368 100644 --- a/Source/cmRulePlaceholderExpander.h +++ b/Source/cmRulePlaceholderExpander.h @@ -41,6 +41,7 @@ public: const char* Source = nullptr; const char* AssemblySource = nullptr; const char* PreprocessedSource = nullptr; + const char* DynDepFile = nullptr; const char* Output = nullptr; const char* Object = nullptr; const char* ObjectDir = nullptr; |