[CMake] INTERNAL vs. STATIC cache variables

Alexander Neundorf a.neundorf-work at gmx.net
Fri Sep 25 15:12:19 EDT 2009


On Friday 25 September 2009, Marcel Loose wrote:
> Hi all,
>
> Is there a difference in precedence between INTERNAL and STATIC cache
> variables?
>
> For example, what happens if I (accidentally) define an INTERNAL cache
> variable that is already or will be defined by CMake? Will the STATIC
> variable always have precedence? Or am I entering the realm of undefined
> behavior?

I think this matters only for the GUI, i.e. ccmake and cmake-gui. INTERNAL 
variables are hidden there.

Alex


More information about the CMake mailing list