![]() Once CMake has put the variable into the cache with its initial value, Once a variable is in the cache, its “cache” value cannot normally be Second, cache filesĬontain full paths which make them unsuitable for moving between Syntax of the CMake cache is subject to change. Not work and could cause additional problems in the future. “initialize” a project by giving it an initial cache file. You might be tempted to edit the cache file directly, or to For some complicated ones it may be twice or more. The rule is to keepīuilding the cache until it doesn’t change. New options will appear for MPI that they can then set. ![]() Option in the cache area, if the user turns that on and re-configures with CMake, So, to avoid confusionįor people who don’t know what MPI is, those options are hidden until Option VTK_USE_PARALLEL is first turned on in VTK. The build process to determine where the MPI libraries and header files areĪnd to let the user adjust their values. Supports the use of MPI for performing distributed computing. New options to appear the next time the cache is built. Some projects are very complex and setting one value in the cache may cause Probably all of your binary tree’s object files, libraries, and If you significantly change yourĬomputer, either by changing the operating system or switching to aĭifferent compiler, you will need to delete the cache file (and ![]() Variables to properties that should never change (such as the byte Have been determined, they are stored in the cache to avoid having to recompute Typically, these values are system-dependent variables that requireĬMake to compile and run a program to determine their value. These entries may not be visible or adjustable by The type of the variable is used by theĬmake-gui to control how that variable is set andĭisplayed, but the value is always stored in the cache file as a string.Īnother purpose of the cache is to allow CMake itself to persistently store When you use the CACHE option, you may also provide the type of the Set( USE_JPEG ON CACHE BOOL "include jpeg support?" ) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |