Files
Sergiu Deitsch a0f9ccbdbf Help: Clarify target of source property genexes
The documentation did not say which target generator expressions in
source file properties refer to. They are evaluated separately for each
target compiling the source, so a source shared by several targets can
be compiled differently by each. Document this with an example and test
a source shared by two targets.
2026-10-26 22:03:39 +01:00

13 lines
194 B
C

#ifndef SHARED_ID
# error SHARED_ID not defined
#endif
#if SHARED_ID != EXPECTED_ID
# error SHARED_ID does not match EXPECTED_ID of the compiled target
#endif
int main(void)
{
return 0;
}