mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-27 00:49:52 -06:00
This generator expression is the inverse of `LINK_ONLY` and only coveys usage requirements for the purposes of compilation. Its intended use is to avoid needing to export targets that do not have link usage requirements (e.g., header-only libraries) when used by another target. See: #15415
9 lines
182 B
C++
9 lines
182 B
C++
|
|
#ifndef USE_EXAMPLE
|
|
# error "Missing propagated define"
|
|
#endif
|
|
|
|
// Solaris needs non-empty content so ensure
|
|
// we have at least one symbol
|
|
int Solaris_requires_a_symbol_here = 0;
|