Open tamaskenez opened 7 years ago
A possible implementation of 4:
initial-build:
store and apply preset args store and apply pkg args store and apply cl args
later builds overwrite stored preset args with new ones (if specified) overwrite stored pkg args with new ones append stored cl args with new ones create the transition args from the accumulation of the above set to the current tracked set
currently package cmake_args are applied only on initial builds preset cmake args appended to command line and applied always (and after package cmake args on initial build). However it would be less surprising if package cmake args would be stronger than preset cmake args
Solutions:
-D!A=B
and weak-D?A=B
args