[CMake] What is the difference between STATIC and INTERNAL cache variables?

Timothy Wrona tjwrona1992 at gmail.com
Thu Mar 12 16:37:51 EDT 2020


According to the documentation:

https://cmake.org/cmake/help/v3.17/prop_cache/TYPE.html

It looks like STATIC cache variables are supposed to be visible from the
CMake GUI, but not modifiable. But when I open a project that has some
STATIC variables in the CMake GUI it looks like you can't even see them at
all (similar to INTERNAL cache variables).

In fact, other than being declared "STATIC" in the "CMakeCache.txt" file I
can't see any real difference between these variables and INTERNAL
variables.

Is there any difference between STATIC and INTERNAL cache variables in
practice?

Thanks,
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20200312/0b579f42/attachment.html>


More information about the CMake mailing list