cmDocumentVariables.cxx 88 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927
  1. #include "cmDocumentVariables.h"
  2. #include "cmake.h"
  3. #include <cmsys/ios/sstream>
  4. void cmDocumentVariables::DefineVariables(cmake* cm)
  5. {
  6. // Subsection: variables defined by cmake, that give
  7. // information about the project, and cmake
  8. cm->DefineProperty
  9. ("CMAKE_AR", cmProperty::VARIABLE,
  10. "Name of archiving tool for static libraries.",
  11. "This specifies the name of the program that creates archive "
  12. "or static libraries.",false,
  13. "Variables that Provide Information");
  14. cm->DefineProperty
  15. ("CMAKE_COMMAND", cmProperty::VARIABLE,
  16. "The full path to the cmake executable.",
  17. "This is the full path to the CMake executable cmake which is "
  18. "useful from custom commands that want to use the cmake -E "
  19. "option for portable system commands. "
  20. "(e.g. /usr/local/bin/cmake", false,
  21. "Variables that Provide Information");
  22. cm->DefineProperty
  23. ("CMAKE_BINARY_DIR", cmProperty::VARIABLE,
  24. "The path to the top level of the build tree.",
  25. "This is the full path to the top level of the current CMake "
  26. "build tree. For an in-source build, this would be the same "
  27. "as CMAKE_SOURCE_DIR. ", false,
  28. "Variables that Provide Information");
  29. cm->DefineProperty
  30. ("CMAKE_SOURCE_DIR", cmProperty::VARIABLE,
  31. "The path to the top level of the source tree.",
  32. "This is the full path to the top level of the current CMake "
  33. "source tree. For an in-source build, this would be the same "
  34. "as CMAKE_BINARY_DIR. ", false,
  35. "Variables that Provide Information");
  36. cm->DefineProperty
  37. ("CMAKE_CURRENT_BINARY_DIR", cmProperty::VARIABLE,
  38. "The path to the binary directory currently being processed.",
  39. "This the full path to the build directory that is currently "
  40. "being processed by cmake. Each directory added by "
  41. "add_subdirectory will create a binary directory in the build "
  42. "tree, and as it is being processed this variable will be set. "
  43. "For in-source builds this is the current source directory "
  44. "being processed.", false,
  45. "Variables that Provide Information");
  46. cm->DefineProperty
  47. ("CMAKE_CURRENT_SOURCE_DIR", cmProperty::VARIABLE,
  48. "The path to the source directory currently being processed.",
  49. "This the full path to the source directory that is currently "
  50. "being processed by cmake. ", false,
  51. "Variables that Provide Information");
  52. cm->DefineProperty
  53. ("CMAKE_CURRENT_LIST_FILE", cmProperty::VARIABLE,
  54. "Full path to the listfile currently being processed.",
  55. "As CMake processes the listfiles in your project this "
  56. "variable will always be set to the one currently being "
  57. "processed. "
  58. "The value has dynamic scope. "
  59. "When CMake starts processing commands in a source file "
  60. "it sets this variable to the location of the file. "
  61. "When CMake finishes processing commands from the file it "
  62. "restores the previous value. "
  63. "Therefore the value of the variable inside a macro or "
  64. "function is the file invoking the bottom-most entry on "
  65. "the call stack, not the file containing the macro or "
  66. "function definition."
  67. "\n"
  68. "See also CMAKE_PARENT_LIST_FILE.",false,
  69. "Variables that Provide Information");
  70. cm->DefineProperty
  71. ("CMAKE_CURRENT_LIST_LINE", cmProperty::VARIABLE,
  72. "The line number of the current file being processed.",
  73. "This is the line number of the file currently being"
  74. " processed by cmake.", false,
  75. "Variables that Provide Information");
  76. cm->DefineProperty
  77. ("CMAKE_CURRENT_LIST_DIR", cmProperty::VARIABLE,
  78. "Full directory of the listfile currently being processed.",
  79. "As CMake processes the listfiles in your project this "
  80. "variable will always be set to the directory where the listfile which "
  81. "is currently being processed (CMAKE_CURRENT_LIST_FILE) is located. "
  82. "The value has dynamic scope. "
  83. "When CMake starts processing commands in a source file "
  84. "it sets this variable to the directory where this file is located. "
  85. "When CMake finishes processing commands from the file it "
  86. "restores the previous value. "
  87. "Therefore the value of the variable inside a macro or "
  88. "function is the directory of the file invoking the bottom-most entry on "
  89. "the call stack, not the directory of the file containing the macro or "
  90. "function definition."
  91. "\n"
  92. "See also CMAKE_CURRENT_LIST_FILE.",false,
  93. "Variables that Provide Information");
  94. cm->DefineProperty
  95. ("CMAKE_SCRIPT_MODE_FILE", cmProperty::VARIABLE,
  96. "Full path to the -P script file currently being processed. ",
  97. "When run in -P script mode, CMake sets this variable to the full "
  98. "path of the script file. When run to configure a CMakeLists.txt "
  99. "file, this variable is not set.", false,
  100. "Variables that Provide Information");
  101. cm->DefineProperty
  102. ("CMAKE_ARGC", cmProperty::VARIABLE,
  103. "Number of command line arguments passed to CMake in script mode. ",
  104. "When run in -P script mode, CMake sets this variable to the number "
  105. "of command line arguments. See also CMAKE_ARGV0, 1, 2 ... ", false,
  106. "Variables that Provide Information");
  107. cm->DefineProperty
  108. ("CMAKE_ARGV0", cmProperty::VARIABLE,
  109. "Command line argument passed to CMake in script mode. ",
  110. "When run in -P script mode, CMake sets this variable to "
  111. "the first command line argument. It then also sets CMAKE_ARGV1, "
  112. "CMAKE_ARGV2, ... and so on, up to the number of command line arguments "
  113. "given. See also CMAKE_ARGC.", false,
  114. "Variables that Provide Information");
  115. cm->DefineProperty
  116. ("CMAKE_BUILD_TOOL", cmProperty::VARIABLE,
  117. "Tool used for the actual build process.",
  118. "This variable is set to the program that will be"
  119. " needed to build the output of CMake. If the "
  120. "generator selected was Visual Studio 6, the "
  121. "CMAKE_BUILD_TOOL will be set to msdev, for "
  122. "Unix Makefiles it will be set to make or gmake, "
  123. "and for Visual Studio 7 it set to devenv. For "
  124. "NMake Makefiles the value is nmake. This can be "
  125. "useful for adding special flags and commands based"
  126. " on the final build environment. ", false,
  127. "Variables that Provide Information");
  128. cm->DefineProperty
  129. ("CMAKE_CROSSCOMPILING", cmProperty::VARIABLE,
  130. "Is CMake currently cross compiling.",
  131. "This variable will be set to true by CMake if CMake is cross "
  132. "compiling. Specifically if the build platform is different "
  133. "from the target platform.", false,
  134. "Variables that Provide Information");
  135. cm->DefineProperty
  136. ("CMAKE_CACHEFILE_DIR", cmProperty::VARIABLE,
  137. "The directory with the CMakeCache.txt file.",
  138. "This is the full path to the directory that has the "
  139. "CMakeCache.txt file in it. This is the same as "
  140. "CMAKE_BINARY_DIR.", false,
  141. "Variables that Provide Information");
  142. cm->DefineProperty
  143. ("CMAKE_CACHE_MAJOR_VERSION", cmProperty::VARIABLE,
  144. "Major version of CMake used to create the CMakeCache.txt file",
  145. "This stores the major version of CMake used to "
  146. "write a CMake cache file. It is only different when "
  147. "a different version of CMake is run on a previously "
  148. "created cache file.", false,
  149. "Variables that Provide Information");
  150. cm->DefineProperty
  151. ("CMAKE_CACHE_MINOR_VERSION", cmProperty::VARIABLE,
  152. "Minor version of CMake used to create the CMakeCache.txt file",
  153. "This stores the minor version of CMake used to "
  154. "write a CMake cache file. It is only different when "
  155. "a different version of CMake is run on a previously "
  156. "created cache file.", false,
  157. "Variables that Provide Information");
  158. cm->DefineProperty
  159. ("CMAKE_CACHE_PATCH_VERSION", cmProperty::VARIABLE,
  160. "Patch version of CMake used to create the CMakeCache.txt file",
  161. "This stores the patch version of CMake used to "
  162. "write a CMake cache file. It is only different when "
  163. "a different version of CMake is run on a previously "
  164. "created cache file.", false,
  165. "Variables that Provide Information");
  166. cm->DefineProperty
  167. ("CMAKE_CFG_INTDIR", cmProperty::VARIABLE,
  168. "Build-time reference to per-configuration output subdirectory.",
  169. "For native build systems supporting multiple configurations "
  170. "in the build tree (such as Visual Studio and Xcode), "
  171. "the value is a reference to a build-time variable specifying "
  172. "the name of the per-configuration output subdirectory. "
  173. "On Makefile generators this evaluates to \".\" because there "
  174. "is only one configuration in a build tree. "
  175. "Example values:\n"
  176. " $(IntDir) = Visual Studio 6\n"
  177. " $(OutDir) = Visual Studio 7, 8, 9\n"
  178. " $(Configuration) = Visual Studio 10\n"
  179. " $(CONFIGURATION) = Xcode\n"
  180. " . = Make-based tools\n"
  181. "Since these values are evaluated by the native build system, this "
  182. "variable is suitable only for use in command lines that will be "
  183. "evaluated at build time. "
  184. "Example of intended usage:\n"
  185. " add_executable(mytool mytool.c)\n"
  186. " add_custom_command(\n"
  187. " OUTPUT out.txt\n"
  188. " COMMAND ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/mytool\n"
  189. " ${CMAKE_CURRENT_SOURCE_DIR}/in.txt out.txt\n"
  190. " DEPENDS mytool in.txt\n"
  191. " )\n"
  192. " add_custom_target(drive ALL DEPENDS out.txt)\n"
  193. "Note that CMAKE_CFG_INTDIR is no longer necessary for this purpose "
  194. "but has been left for compatibility with existing projects. "
  195. "Instead add_custom_command() recognizes executable target names in "
  196. "its COMMAND option, so "
  197. "\"${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/mytool\" can be "
  198. "replaced by just \"mytool\"."
  199. "\n"
  200. "This variable is read-only. Setting it is undefined behavior. "
  201. "In multi-configuration build systems the value of this variable "
  202. "is passed as the value of preprocessor symbol \"CMAKE_INTDIR\" to "
  203. "the compilation of all source files.",false,
  204. "Variables that Provide Information");
  205. cm->DefineProperty
  206. ("CMAKE_CTEST_COMMAND", cmProperty::VARIABLE,
  207. "Full path to ctest command installed with cmake.",
  208. "This is the full path to the CTest executable ctest "
  209. "which is useful from custom commands that want "
  210. "to use the cmake -E option for portable system "
  211. "commands.",false,
  212. "Variables that Provide Information");
  213. cm->DefineProperty
  214. ("CMAKE_DL_LIBS", cmProperty::VARIABLE,
  215. "Name of library containing dlopen and dlcose.",
  216. "The name of the library that has dlopen and "
  217. "dlclose in it, usually -ldl on most UNIX machines.",false,
  218. "Variables that Provide Information");
  219. cm->DefineProperty
  220. ("CMAKE_EDIT_COMMAND", cmProperty::VARIABLE,
  221. "Full path to cmake-gui or ccmake.",
  222. "This is the full path to the CMake executable "
  223. "that can graphically edit the cache. For example,"
  224. " cmake-gui, ccmake, or cmake -i.",false,
  225. "Variables that Provide Information");
  226. cm->DefineProperty
  227. ("CMAKE_GENERATOR", cmProperty::VARIABLE,
  228. "The generator used to build the project.",
  229. "The name of the generator that is being used to generate the "
  230. "build files. (e.g. \"Unix Makefiles\", "
  231. "\"Visual Studio 6\", etc.)",false,
  232. "Variables that Provide Information");
  233. cm->DefineProperty
  234. ("CMAKE_EXTRA_GENERATOR", cmProperty::VARIABLE,
  235. "The extra generator used to build the project.",
  236. "When using the Eclipse, CodeBlocks or KDevelop generators, CMake "
  237. "generates Makefiles (CMAKE_GENERATOR) and additionally project files "
  238. "for the respective IDE. This IDE project file generator is stored in "
  239. "CMAKE_EXTRA_GENERATOR (e.g. \"Eclipse CDT4\").",false,
  240. "Variables that Provide Information");
  241. cm->DefineProperty
  242. ("CMAKE_GENERATOR_TOOLSET", cmProperty::VARIABLE,
  243. "Native build system toolset name specified by user.",
  244. "Some CMake generators support a toolset name to be given to the "
  245. "native build system to choose a compiler. "
  246. "If the user specifies a toolset name (e.g. via the cmake -T option) "
  247. "the value will be available in this variable.",false,
  248. "Variables that Provide Information");
  249. cm->DefineProperty
  250. ("CMAKE_HOME_DIRECTORY", cmProperty::VARIABLE,
  251. "Path to top of source tree.",
  252. "This is the path to the top level of the source tree.",false,
  253. "Variables that Provide Information");
  254. cm->DefineProperty
  255. ("CMAKE_LINK_LIBRARY_SUFFIX", cmProperty::VARIABLE,
  256. "The suffix for libraries that you link to.",
  257. "The suffix to use for the end of a library filename, .lib on Windows."
  258. ,false,
  259. "Variables that Provide Information");
  260. cm->DefineProperty
  261. ("CMAKE_EXECUTABLE_SUFFIX", cmProperty::VARIABLE,
  262. "The suffix for executables on this platform.",
  263. "The suffix to use for the end of an executable filename if any, "
  264. ".exe on Windows."
  265. "\n"
  266. "CMAKE_EXECUTABLE_SUFFIX_<LANG> overrides this for language <LANG>."
  267. ,false, "Variables that Provide Information");
  268. cm->DefineProperty
  269. ("CMAKE_MAJOR_VERSION", cmProperty::VARIABLE,
  270. "The Major version of cmake (i.e. the 2 in 2.X.X)",
  271. "This specifies the major version of the CMake executable"
  272. " being run.",false,
  273. "Variables that Provide Information");
  274. cm->DefineProperty
  275. ("CMAKE_MAKE_PROGRAM", cmProperty::VARIABLE,
  276. "See CMAKE_BUILD_TOOL.",
  277. "This variable is around for backwards compatibility, "
  278. "see CMAKE_BUILD_TOOL.",false,
  279. "Variables that Provide Information");
  280. cm->DefineProperty
  281. ("CMAKE_VS_PLATFORM_TOOLSET", cmProperty::VARIABLE,
  282. "Visual Studio Platform Toolset name.",
  283. "VS 10 and above use MSBuild under the hood and support multiple "
  284. "compiler toolchains. "
  285. "CMake may specify a toolset explicitly, such as \"v110\" for "
  286. "VS 11 or \"Windows7.1SDK\" for 64-bit support in VS 10 Express. "
  287. "CMake provides the name of the chosen toolset in this variable."
  288. ,false,
  289. "Variables that Provide Information");
  290. cm->DefineProperty
  291. ("CMAKE_XCODE_PLATFORM_TOOLSET", cmProperty::VARIABLE,
  292. "Xcode compiler selection.",
  293. "Xcode supports selection of a compiler from one of the installed "
  294. "toolsets. "
  295. "CMake provides the name of the chosen toolset in this variable, "
  296. "if any is explicitly selected (e.g. via the cmake -T option)."
  297. ,false,
  298. "Variables that Provide Information");
  299. cm->DefineProperty
  300. ("CMAKE_MINOR_VERSION", cmProperty::VARIABLE,
  301. "The Minor version of cmake (i.e. the 4 in X.4.X).",
  302. "This specifies the minor version of the CMake"
  303. " executable being run.",false,
  304. "Variables that Provide Information");
  305. cm->DefineProperty
  306. ("CMAKE_PATCH_VERSION", cmProperty::VARIABLE,
  307. "The patch version of cmake (i.e. the 3 in X.X.3).",
  308. "This specifies the patch version of the CMake"
  309. " executable being run.",false,
  310. "Variables that Provide Information");
  311. cm->DefineProperty
  312. ("CMAKE_TWEAK_VERSION", cmProperty::VARIABLE,
  313. "The tweak version of cmake (i.e. the 1 in X.X.X.1).",
  314. "This specifies the tweak version of the CMake executable being run. "
  315. "Releases use tweak < 20000000 and development versions use the date "
  316. "format CCYYMMDD for the tweak level."
  317. ,false, "Variables that Provide Information");
  318. cm->DefineProperty
  319. ("CMAKE_VERSION", cmProperty::VARIABLE,
  320. "The full version of cmake in major.minor.patch[.tweak[-id]] format.",
  321. "This specifies the full version of the CMake executable being run. "
  322. "This variable is defined by versions 2.6.3 and higher. "
  323. "See variables CMAKE_MAJOR_VERSION, CMAKE_MINOR_VERSION, "
  324. "CMAKE_PATCH_VERSION, and CMAKE_TWEAK_VERSION "
  325. "for individual version components. "
  326. "The [-id] component appears in non-release versions "
  327. "and may be arbitrary text.", false,
  328. "Variables that Provide Information");
  329. cm->DefineProperty
  330. ("CMAKE_PARENT_LIST_FILE", cmProperty::VARIABLE,
  331. "Full path to the parent listfile of the one currently being processed.",
  332. "As CMake processes the listfiles in your project this "
  333. "variable will always be set to the listfile that included "
  334. "or somehow invoked the one currently being "
  335. "processed. See also CMAKE_CURRENT_LIST_FILE.",false,
  336. "Variables that Provide Information");
  337. cm->DefineProperty
  338. ("CMAKE_PROJECT_NAME", cmProperty::VARIABLE,
  339. "The name of the current project.",
  340. "This specifies name of the current project from"
  341. " the closest inherited PROJECT command.",false,
  342. "Variables that Provide Information");
  343. cm->DefineProperty
  344. ("CMAKE_RANLIB", cmProperty::VARIABLE,
  345. "Name of randomizing tool for static libraries.",
  346. "This specifies name of the program that randomizes "
  347. "libraries on UNIX, not used on Windows, but may be present.",false,
  348. "Variables that Provide Information");
  349. cm->DefineProperty
  350. ("CMAKE_ROOT", cmProperty::VARIABLE,
  351. "Install directory for running cmake.",
  352. "This is the install root for the running CMake and"
  353. " the Modules directory can be found here. This is"
  354. " commonly used in this format: ${CMAKE_ROOT}/Modules",false,
  355. "Variables that Provide Information");
  356. cm->DefineProperty
  357. ("CMAKE_SIZEOF_VOID_P", cmProperty::VARIABLE,
  358. "Size of a void pointer.",
  359. "This is set to the size of a pointer on the machine, "
  360. "and is determined by a try compile. If a 64 bit size "
  361. "is found, then the library search path is modified to "
  362. "look for 64 bit libraries first.",false,
  363. "Variables that Provide Information");
  364. cm->DefineProperty
  365. ("CMAKE_SKIP_RPATH", cmProperty::VARIABLE,
  366. "If true, do not add run time path information.",
  367. "If this is set to TRUE, then the rpath information "
  368. "is not added to compiled executables. The default "
  369. "is to add rpath information if the platform supports it. "
  370. "This allows for easy running from the build tree. To omit RPATH "
  371. "in the install step, but not the build step, use "
  372. "CMAKE_SKIP_INSTALL_RPATH instead.",false,
  373. "Variables that Provide Information");
  374. cm->DefineProperty
  375. ("CMAKE_SOURCE_DIR", cmProperty::VARIABLE,
  376. "Source directory for project.",
  377. "This is the top level source directory for the project. "
  378. "It corresponds to the source directory given to "
  379. "cmake-gui or ccmake.",false,
  380. "Variables that Provide Information");
  381. cm->DefineProperty
  382. ("CMAKE_STANDARD_LIBRARIES", cmProperty::VARIABLE,
  383. "Libraries linked into every executable and shared library.",
  384. "This is the list of libraries that are linked "
  385. "into all executables and libraries.",false,
  386. "Variables that Provide Information");
  387. cm->DefineProperty
  388. ("CMAKE_VERBOSE_MAKEFILE", cmProperty::VARIABLE,
  389. "Create verbose makefiles if on.",
  390. "This variable defaults to false. You can set "
  391. "this variable to true to make CMake produce verbose "
  392. "makefiles that show each command line as it is used.",false,
  393. "Variables that Provide Information");
  394. cm->DefineProperty
  395. ("PROJECT_BINARY_DIR", cmProperty::VARIABLE,
  396. "Full path to build directory for project.",
  397. "This is the binary directory of the most recent "
  398. "PROJECT command.",false,"Variables that Provide Information");
  399. cm->DefineProperty
  400. ("PROJECT_NAME", cmProperty::VARIABLE,
  401. "Name of the project given to the project command.",
  402. "This is the name given to the most "
  403. "recent PROJECT command. ",false,
  404. "Variables that Provide Information");
  405. cm->DefineProperty
  406. ("PROJECT_SOURCE_DIR", cmProperty::VARIABLE,
  407. "Top level source directory for the current project.",
  408. "This is the source directory of the most recent "
  409. "PROJECT command.",false,
  410. "Variables that Provide Information");
  411. cm->DefineProperty
  412. ("[Project name]_BINARY_DIR", cmProperty::VARIABLE,
  413. "Top level binary directory for the named project.",
  414. "A variable is created with the name used in the PROJECT "
  415. "command, and is the binary directory for the project. "
  416. " This can be useful when SUBDIR is used to connect "
  417. "several projects.",false,
  418. "Variables that Provide Information");
  419. cm->DefineProperty
  420. ("[Project name]_SOURCE_DIR", cmProperty::VARIABLE,
  421. "Top level source directory for the named project.",
  422. "A variable is created with the name used in the PROJECT "
  423. "command, and is the source directory for the project."
  424. " This can be useful when add_subdirectory "
  425. "is used to connect several projects.",false,
  426. "Variables that Provide Information");
  427. cm->DefineProperty
  428. ("CMAKE_IMPORT_LIBRARY_PREFIX", cmProperty::VARIABLE,
  429. "The prefix for import libraries that you link to.",
  430. "The prefix to use for the name of an import library if used "
  431. "on this platform."
  432. "\n"
  433. "CMAKE_IMPORT_LIBRARY_PREFIX_<LANG> overrides this for language <LANG>."
  434. ,false, "Variables that Provide Information");
  435. cm->DefineProperty
  436. ("CMAKE_IMPORT_LIBRARY_SUFFIX", cmProperty::VARIABLE,
  437. "The suffix for import libraries that you link to.",
  438. "The suffix to use for the end of an import library filename if used "
  439. "on this platform."
  440. "\n"
  441. "CMAKE_IMPORT_LIBRARY_SUFFIX_<LANG> overrides this for language <LANG>."
  442. ,false, "Variables that Provide Information");
  443. cm->DefineProperty
  444. ("CMAKE_SHARED_LIBRARY_PREFIX", cmProperty::VARIABLE,
  445. "The prefix for shared libraries that you link to.",
  446. "The prefix to use for the name of a shared library, lib on UNIX."
  447. "\n"
  448. "CMAKE_SHARED_LIBRARY_PREFIX_<LANG> overrides this for language <LANG>."
  449. ,false, "Variables that Provide Information");
  450. cm->DefineProperty
  451. ("CMAKE_SHARED_LIBRARY_SUFFIX", cmProperty::VARIABLE,
  452. "The suffix for shared libraries that you link to.",
  453. "The suffix to use for the end of a shared library filename, "
  454. ".dll on Windows."
  455. "\n"
  456. "CMAKE_SHARED_LIBRARY_SUFFIX_<LANG> overrides this for language <LANG>."
  457. ,false, "Variables that Provide Information");
  458. cm->DefineProperty
  459. ("CMAKE_SHARED_MODULE_PREFIX", cmProperty::VARIABLE,
  460. "The prefix for loadable modules that you link to.",
  461. "The prefix to use for the name of a loadable module on this platform."
  462. "\n"
  463. "CMAKE_SHARED_MODULE_PREFIX_<LANG> overrides this for language <LANG>."
  464. ,false, "Variables that Provide Information");
  465. cm->DefineProperty
  466. ("CMAKE_SHARED_MODULE_SUFFIX", cmProperty::VARIABLE,
  467. "The suffix for shared libraries that you link to.",
  468. "The suffix to use for the end of a loadable module filename "
  469. "on this platform"
  470. "\n"
  471. "CMAKE_SHARED_MODULE_SUFFIX_<LANG> overrides this for language <LANG>."
  472. ,false, "Variables that Provide Information");
  473. cm->DefineProperty
  474. ("CMAKE_STATIC_LIBRARY_PREFIX", cmProperty::VARIABLE,
  475. "The prefix for static libraries that you link to.",
  476. "The prefix to use for the name of a static library, lib on UNIX."
  477. "\n"
  478. "CMAKE_STATIC_LIBRARY_PREFIX_<LANG> overrides this for language <LANG>."
  479. ,false, "Variables that Provide Information");
  480. cm->DefineProperty
  481. ("CMAKE_STATIC_LIBRARY_SUFFIX", cmProperty::VARIABLE,
  482. "The suffix for static libraries that you link to.",
  483. "The suffix to use for the end of a static library filename, "
  484. ".lib on Windows."
  485. "\n"
  486. "CMAKE_STATIC_LIBRARY_SUFFIX_<LANG> overrides this for language <LANG>."
  487. ,false, "Variables that Provide Information");
  488. cm->DefineProperty
  489. ("CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES", cmProperty::VARIABLE,
  490. "Additional suffixes for shared libraries.",
  491. "Extensions for shared libraries other than that specified by "
  492. "CMAKE_SHARED_LIBRARY_SUFFIX, if any. "
  493. "CMake uses this to recognize external shared library files during "
  494. "analysis of libraries linked by a target.",
  495. false,
  496. "Variables that Provide Information");
  497. // Variables defined by cmake, that change the behavior
  498. // of cmake
  499. cm->DefineProperty
  500. ("CMAKE_POLICY_DEFAULT_CMP<NNNN>", cmProperty::VARIABLE,
  501. "Default for CMake Policy CMP<NNNN> when it is otherwise left unset.",
  502. "Commands cmake_minimum_required(VERSION) and cmake_policy(VERSION) "
  503. "by default leave policies introduced after the given version unset. "
  504. "Set CMAKE_POLICY_DEFAULT_CMP<NNNN> to OLD or NEW to specify the "
  505. "default for policy CMP<NNNN>, where <NNNN> is the policy number."
  506. "\n"
  507. "This variable should not be set by a project in CMake code; "
  508. "use cmake_policy(SET) instead. "
  509. "Users running CMake may set this variable in the cache "
  510. "(e.g. -DCMAKE_POLICY_DEFAULT_CMP<NNNN>=<OLD|NEW>) "
  511. "to set a policy not otherwise set by the project. "
  512. "Set to OLD to quiet a policy warning while using old behavior "
  513. "or to NEW to try building the project with new behavior.",
  514. false,
  515. "Variables That Change Behavior");
  516. cm->DefineProperty
  517. ("CMAKE_AUTOMOC_RELAXED_MODE", cmProperty::VARIABLE,
  518. "Switch between strict and relaxed automoc mode.",
  519. "By default, automoc behaves exactly as described in the documentation "
  520. "of the AUTOMOC target property. "
  521. "When set to TRUE, it accepts more input and tries to find the correct "
  522. "input file for moc even if it differs from the documented behaviour. "
  523. "In this mode it e.g. also checks whether a header file is intended to "
  524. "be processed by moc when a \"foo.moc\" file has been included.\n"
  525. "Relaxed mode has to be enabled for KDE4 compatibility.",
  526. false,
  527. "Variables That Change Behavior");
  528. cm->DefineProperty
  529. ("CMAKE_INSTALL_DEFAULT_COMPONENT_NAME", cmProperty::VARIABLE,
  530. "Default component used in install() commands.",
  531. "If an install() command is used without the COMPONENT argument, "
  532. "these files will be grouped into a default component. The name of this "
  533. "default install component will be taken from this variable. "
  534. "It defaults to \"Unspecified\". ",
  535. false,
  536. "Variables That Change Behavior");
  537. cm->DefineProperty
  538. ("CMAKE_FIND_LIBRARY_PREFIXES", cmProperty::VARIABLE,
  539. "Prefixes to prepend when looking for libraries.",
  540. "This specifies what prefixes to add to library names when "
  541. "the find_library command looks for libraries. On UNIX "
  542. "systems this is typically lib, meaning that when trying "
  543. "to find the foo library it will look for libfoo.",
  544. false,
  545. "Variables That Change Behavior");
  546. cm->DefineProperty
  547. ("CMAKE_FIND_LIBRARY_SUFFIXES", cmProperty::VARIABLE,
  548. "Suffixes to append when looking for libraries.",
  549. "This specifies what suffixes to add to library names when "
  550. "the find_library command looks for libraries. On Windows "
  551. "systems this is typically .lib and .dll, meaning that when trying "
  552. "to find the foo library it will look for foo.dll etc.",
  553. false,
  554. "Variables That Change Behavior");
  555. cm->DefineProperty
  556. ("CMAKE_CONFIGURATION_TYPES", cmProperty::VARIABLE,
  557. "Specifies the available build types on multi-config generators.",
  558. "This specifies what build types (configurations) will be available "
  559. "such as Debug, Release, RelWithDebInfo etc. "
  560. "This has reasonable defaults on most platforms, "
  561. "but can be extended to provide other build types. "
  562. "See also CMAKE_BUILD_TYPE for details of managing configuration data, "
  563. "and CMAKE_CFG_INTDIR."
  564. ,false,
  565. "Variables That Change Behavior");
  566. cm->DefineProperty
  567. ("CMAKE_BUILD_TYPE", cmProperty::VARIABLE,
  568. "Specifies the build type on single-configuration generators.",
  569. "This statically specifies what build type (configuration) "
  570. "will be built in this build tree. Possible values are "
  571. "empty, Debug, Release, RelWithDebInfo and MinSizeRel. "
  572. "This variable is only meaningful to single-configuration generators "
  573. "(such as make and Ninja) i.e. "
  574. "those which choose a single configuration "
  575. "when CMake runs to generate a build tree as opposed to "
  576. "multi-configuration generators which offer selection of the build "
  577. "configuration within the generated build environment. "
  578. "There are many per-config properties and variables "
  579. "(usually following clean SOME_VAR_<CONFIG> order conventions), "
  580. "such as CMAKE_C_FLAGS_<CONFIG>, specified as uppercase: "
  581. "CMAKE_C_FLAGS_[DEBUG|RELEASE|RELWITHDEBINFO|MINSIZEREL]. "
  582. "For example, in a build tree configured "
  583. "to build type Debug, CMake will see to having "
  584. "CMAKE_C_FLAGS_DEBUG settings get added to the CMAKE_C_FLAGS settings. "
  585. "See also CMAKE_CONFIGURATION_TYPES."
  586. ,false,
  587. "Variables That Change Behavior");
  588. cm->DefineProperty
  589. ("CMAKE_BACKWARDS_COMPATIBILITY", cmProperty::VARIABLE,
  590. "Version of cmake required to build project",
  591. "From the point of view of backwards compatibility, this "
  592. "specifies what version of CMake should be supported. By "
  593. "default this value is the version number of CMake that "
  594. "you are running. You can set this to an older version of"
  595. " CMake to support deprecated commands of CMake in projects"
  596. " that were written to use older versions of CMake. This "
  597. "can be set by the user or set at the beginning of a "
  598. "CMakeLists file.",false,
  599. "Variables That Change Behavior");
  600. cm->DefineProperty
  601. ("CMAKE_INSTALL_PREFIX", cmProperty::VARIABLE,
  602. "Install directory used by install.",
  603. "If \"make install\" is invoked or INSTALL is built"
  604. ", this directory is prepended onto all install "
  605. "directories. This variable defaults to /usr/local"
  606. " on UNIX and c:/Program Files on Windows.\n"
  607. "On UNIX one can use the DESTDIR mechanism in order"
  608. " to relocate the whole installation. "
  609. "DESTDIR means DESTination DIRectory. It is "
  610. "commonly used by makefile users "
  611. "in order to install software at non-default location. "
  612. "It is usually invoked like this:\n"
  613. " make DESTDIR=/home/john install\n"
  614. "which will install the concerned software using the"
  615. " installation prefix, e.g. \"/usr/local\" prepended with "
  616. "the DESTDIR value which finally gives \"/home/john/usr/local\".\n"
  617. "WARNING: DESTDIR may not be used on Windows because installation"
  618. " prefix usually contains a drive letter like in \"C:/Program Files\""
  619. " which cannot be prepended with some other prefix."
  620. ,false,
  621. "Variables That Change Behavior");
  622. cm->DefineProperty
  623. ("CMAKE_SKIP_INSTALL_ALL_DEPENDENCY", cmProperty::VARIABLE,
  624. "Don't make the install target depend on the all target.",
  625. "By default, the \"install\" target depends on the \"all\" target. "
  626. "This has the effect, that when \"make install\" is invoked or INSTALL "
  627. "is built, first the \"all\" target is built, then the installation "
  628. "starts. "
  629. "If CMAKE_SKIP_INSTALL_ALL_DEPENDENCY is set to TRUE, this dependency "
  630. "is not created, so the installation process will start immediately, "
  631. "independent from whether the project has been completely built or not."
  632. ,false,
  633. "Variables That Change Behavior");
  634. cm->DefineProperty
  635. ("CMAKE_MODULE_PATH", cmProperty::VARIABLE,
  636. "List of directories to search for CMake modules.",
  637. "Commands like include() and find_package() search for files in "
  638. "directories listed by this variable before checking the default "
  639. "modules that come with CMake.",
  640. false,
  641. "Variables That Change Behavior");
  642. cm->DefineProperty
  643. ("CMAKE_PREFIX_PATH", cmProperty::VARIABLE,
  644. "Path used for searching by FIND_XXX(), with appropriate suffixes added.",
  645. "Specifies a path which will be used by the FIND_XXX() commands. It "
  646. "contains the \"base\" directories, the FIND_XXX() commands append "
  647. "appropriate subdirectories to the base directories. So FIND_PROGRAM() "
  648. "adds /bin to each of the directories in the path, FIND_LIBRARY() "
  649. "appends /lib to each of the directories, and FIND_PATH() and "
  650. "FIND_FILE() append /include . By default it is empty, it is intended "
  651. "to be set by the project. See also CMAKE_SYSTEM_PREFIX_PATH, "
  652. "CMAKE_INCLUDE_PATH, CMAKE_LIBRARY_PATH, CMAKE_PROGRAM_PATH.", false,
  653. "Variables That Change Behavior");
  654. cm->DefineProperty
  655. ("CMAKE_INCLUDE_PATH", cmProperty::VARIABLE,
  656. "Path used for searching by FIND_FILE() and FIND_PATH().",
  657. "Specifies a path which will be used both by FIND_FILE() and "
  658. "FIND_PATH(). Both commands will check each of the contained directories "
  659. "for the existence of the file which is currently searched. By default "
  660. "it is empty, it is intended to be set by the project. See also "
  661. "CMAKE_SYSTEM_INCLUDE_PATH, CMAKE_PREFIX_PATH.", false,
  662. "Variables That Change Behavior");
  663. cm->DefineProperty
  664. ("CMAKE_LIBRARY_PATH", cmProperty::VARIABLE,
  665. "Path used for searching by FIND_LIBRARY().",
  666. "Specifies a path which will be used by FIND_LIBRARY(). FIND_LIBRARY() "
  667. "will check each of the contained directories for the existence of the "
  668. "library which is currently searched. By default it is empty, it is "
  669. "intended to be set by the project. See also CMAKE_SYSTEM_LIBRARY_PATH, "
  670. "CMAKE_PREFIX_PATH.", false,
  671. "Variables That Change Behavior");
  672. cm->DefineProperty
  673. ("CMAKE_PROGRAM_PATH", cmProperty::VARIABLE,
  674. "Path used for searching by FIND_PROGRAM().",
  675. "Specifies a path which will be used by FIND_PROGRAM(). FIND_PROGRAM() "
  676. "will check each of the contained directories for the existence of the "
  677. "program which is currently searched. By default it is empty, it is "
  678. "intended to be set by the project. See also CMAKE_SYSTEM_PROGRAM_PATH, "
  679. " CMAKE_PREFIX_PATH.", false,
  680. "Variables That Change Behavior");
  681. cm->DefineProperty
  682. ("CMAKE_SYSTEM_PREFIX_PATH", cmProperty::VARIABLE,
  683. "Path used for searching by FIND_XXX(), with appropriate suffixes added.",
  684. "Specifies a path which will be used by the FIND_XXX() commands. It "
  685. "contains the \"base\" directories, the FIND_XXX() commands append "
  686. "appropriate subdirectories to the base directories. So FIND_PROGRAM() "
  687. "adds /bin to each of the directories in the path, FIND_LIBRARY() "
  688. "appends /lib to each of the directories, and FIND_PATH() and "
  689. "FIND_FILE() append /include . By default this contains the standard "
  690. "directories for the current system. It is NOT intended "
  691. "to be modified by the project, use CMAKE_PREFIX_PATH for this. See also "
  692. "CMAKE_SYSTEM_INCLUDE_PATH, CMAKE_SYSTEM_LIBRARY_PATH, "
  693. "CMAKE_SYSTEM_PROGRAM_PATH, and CMAKE_SYSTEM_IGNORE_PATH.", false,
  694. "Variables That Change Behavior");
  695. cm->DefineProperty
  696. ("CMAKE_SYSTEM_IGNORE_PATH", cmProperty::VARIABLE,
  697. "Path to be ignored by FIND_XXX() commands.",
  698. "Specifies directories to be ignored by searches in FIND_XXX() "
  699. "commands. "
  700. "This is useful in cross-compiled environments where some system "
  701. "directories contain incompatible but possibly linkable libraries. For "
  702. "example, on cross-compiled cluster environments, this allows a user to "
  703. "ignore directories containing libraries meant for the front-end "
  704. "machine that modules like FindX11 (and others) would normally search. "
  705. "By default this contains a list of directories containing incompatible "
  706. "binaries for the host system. "
  707. "See also CMAKE_SYSTEM_PREFIX_PATH, CMAKE_SYSTEM_LIBRARY_PATH, "
  708. "CMAKE_SYSTEM_INCLUDE_PATH, and CMAKE_SYSTEM_PROGRAM_PATH.", false,
  709. "Variables That Change Behavior");
  710. cm->DefineProperty
  711. ("CMAKE_IGNORE_PATH", cmProperty::VARIABLE,
  712. "Path to be ignored by FIND_XXX() commands.",
  713. "Specifies directories to be ignored by searches in FIND_XXX() "
  714. "commands. "
  715. "This is useful in cross-compiled environments where some system "
  716. "directories contain incompatible but possibly linkable libraries. For "
  717. "example, on cross-compiled cluster environments, this allows a user to "
  718. "ignore directories containing libraries meant for the front-end "
  719. "machine that modules like FindX11 (and others) would normally search. "
  720. "By default this is empty; it is intended to be set by the project. "
  721. "Note that CMAKE_IGNORE_PATH takes a list of directory names, NOT a "
  722. "list of prefixes. If you want to ignore paths under prefixes (bin, "
  723. "include, lib, etc.), you'll need to specify them explicitly. "
  724. "See also CMAKE_PREFIX_PATH, CMAKE_LIBRARY_PATH, CMAKE_INCLUDE_PATH, "
  725. "CMAKE_PROGRAM_PATH.", false,
  726. "Variables That Change Behavior");
  727. cm->DefineProperty
  728. ("CMAKE_SYSTEM_INCLUDE_PATH", cmProperty::VARIABLE,
  729. "Path used for searching by FIND_FILE() and FIND_PATH().",
  730. "Specifies a path which will be used both by FIND_FILE() and "
  731. "FIND_PATH(). Both commands will check each of the contained directories "
  732. "for the existence of the file which is currently searched. By default "
  733. "it contains the standard directories for the current system. It is "
  734. "NOT intended to be modified by the project, use CMAKE_INCLUDE_PATH "
  735. "for this. See also CMAKE_SYSTEM_PREFIX_PATH.", false,
  736. "Variables That Change Behavior");
  737. cm->DefineProperty
  738. ("CMAKE_SYSTEM_LIBRARY_PATH", cmProperty::VARIABLE,
  739. "Path used for searching by FIND_LIBRARY().",
  740. "Specifies a path which will be used by FIND_LIBRARY(). FIND_LIBRARY() "
  741. "will check each of the contained directories for the existence of the "
  742. "library which is currently searched. By default it contains the "
  743. "standard directories for the current system. It is NOT intended to be "
  744. "modified by the project, use CMAKE_LIBRARY_PATH for this. See "
  745. "also CMAKE_SYSTEM_PREFIX_PATH.", false,
  746. "Variables That Change Behavior");
  747. cm->DefineProperty
  748. ("CMAKE_SYSTEM_PROGRAM_PATH", cmProperty::VARIABLE,
  749. "Path used for searching by FIND_PROGRAM().",
  750. "Specifies a path which will be used by FIND_PROGRAM(). FIND_PROGRAM() "
  751. "will check each of the contained directories for the existence of the "
  752. "program which is currently searched. By default it contains the "
  753. "standard directories for the current system. It is NOT intended to be "
  754. "modified by the project, use CMAKE_PROGRAM_PATH for this. See also "
  755. "CMAKE_SYSTEM_PREFIX_PATH.", false,
  756. "Variables That Change Behavior");
  757. cm->DefineProperty
  758. ("CMAKE_DISABLE_FIND_PACKAGE_<PackageName>", cmProperty::VARIABLE,
  759. "Variable for disabling find_package() calls.",
  760. "Every non-REQUIRED find_package() call in a project can be disabled "
  761. "by setting the variable CMAKE_DISABLE_FIND_PACKAGE_<PackageName> to "
  762. "TRUE. This can be used to build a project without an optional package, "
  763. "although that package is installed.\n"
  764. "This switch should be used during the initial CMake run. Otherwise if "
  765. "the package has already been found in a previous CMake run, the "
  766. "variables which have been stored in the cache will still be there. "
  767. "In that case it is recommended to remove the cache variables for "
  768. "this package from the cache using the cache editor or cmake -U", false,
  769. "Variables That Change Behavior");
  770. cm->DefineProperty
  771. ("CMAKE_FIND_PACKAGE_WARN_NO_MODULE", cmProperty::VARIABLE,
  772. "Tell find_package to warn if called without an explicit mode.",
  773. "If find_package is called without an explicit mode option "
  774. "(MODULE, CONFIG or NO_MODULE) and no Find<pkg>.cmake module is "
  775. "in CMAKE_MODULE_PATH then CMake implicitly assumes that the "
  776. "caller intends to search for a package configuration file. "
  777. "If no package configuration file is found then the wording "
  778. "of the failure message must account for both the case that the "
  779. "package is really missing and the case that the project has a "
  780. "bug and failed to provide the intended Find module. "
  781. "If instead the caller specifies an explicit mode option then "
  782. "the failure message can be more specific."
  783. "\n"
  784. "Set CMAKE_FIND_PACKAGE_WARN_NO_MODULE to TRUE to tell find_package "
  785. "to warn when it implicitly assumes Config mode. "
  786. "This helps developers enforce use of an explicit mode in all calls "
  787. "to find_package within a project.", false,
  788. "Variables That Change Behavior");
  789. cm->DefineProperty
  790. ("CMAKE_USER_MAKE_RULES_OVERRIDE", cmProperty::VARIABLE,
  791. "Specify a CMake file that overrides platform information.",
  792. "CMake loads the specified file while enabling support for each "
  793. "language from either the project() or enable_language() commands. "
  794. "It is loaded after CMake's builtin compiler and platform information "
  795. "modules have been loaded but before the information is used. "
  796. "The file may set platform information variables to override CMake's "
  797. "defaults."
  798. "\n"
  799. "This feature is intended for use only in overriding information "
  800. "variables that must be set before CMake builds its first test "
  801. "project to check that the compiler for a language works. "
  802. "It should not be used to load a file in cases that a normal include() "
  803. "will work. "
  804. "Use it only as a last resort for behavior that cannot be achieved "
  805. "any other way. "
  806. "For example, one may set CMAKE_C_FLAGS_INIT to change the default "
  807. "value used to initialize CMAKE_C_FLAGS before it is cached. "
  808. "The override file should NOT be used to set anything that could "
  809. "be set after languages are enabled, such as variables like "
  810. "CMAKE_RUNTIME_OUTPUT_DIRECTORY that affect the placement of binaries. "
  811. "Information set in the file will be used for try_compile and try_run "
  812. "builds too."
  813. ,false,
  814. "Variables That Change Behavior");
  815. cm->DefineProperty
  816. ("BUILD_SHARED_LIBS", cmProperty::VARIABLE,
  817. "Global flag to cause add_library to create shared libraries if on.",
  818. "If present and true, this will cause all libraries to be "
  819. "built shared unless the library was explicitly added as a "
  820. "static library. This variable is often added to projects "
  821. "as an OPTION so that each user of a project can decide if "
  822. "they want to build the project using shared or static "
  823. "libraries.",false,
  824. "Variables That Change Behavior");
  825. cm->DefineProperty
  826. ("CMAKE_NOT_USING_CONFIG_FLAGS", cmProperty::VARIABLE,
  827. "Skip _BUILD_TYPE flags if true.",
  828. "This is an internal flag used by the generators in "
  829. "CMake to tell CMake to skip the _BUILD_TYPE flags.",false,
  830. "Variables That Change Behavior");
  831. cm->DefineProperty
  832. ("CMAKE_MFC_FLAG", cmProperty::VARIABLE,
  833. "Tell cmake to use MFC for an executable or dll.",
  834. "This can be set in a CMakeLists.txt file and will "
  835. "enable MFC in the application. It should be set "
  836. "to 1 for the static MFC library, and 2 for "
  837. "the shared MFC library. This is used in Visual "
  838. "Studio 6 and 7 project files. The CMakeSetup "
  839. "dialog used MFC and the CMakeLists.txt looks like this:\n"
  840. " add_definitions(-D_AFXDLL)\n"
  841. " set(CMAKE_MFC_FLAG 2)\n"
  842. " add_executable(CMakeSetup WIN32 ${SRCS})\n",false,
  843. "Variables That Change Behavior");
  844. cm->DefineProperty
  845. ("CMAKE_COLOR_MAKEFILE", cmProperty::VARIABLE,
  846. "Enables color output when using the Makefile generator.",
  847. "When enabled, the generated Makefiles will produce colored output. "
  848. "Default is ON.",false,
  849. "Variables That Change Behavior");
  850. cm->DefineProperty
  851. ("CMAKE_ABSOLUTE_DESTINATION_FILES", cmProperty::VARIABLE,
  852. "List of files which have been installed using "
  853. " an ABSOLUTE DESTINATION path.",
  854. "This variable is defined by CMake-generated cmake_install.cmake "
  855. "scripts."
  856. " It can be used (read-only) by programs or scripts that source those"
  857. " install scripts. This is used by some CPack generators (e.g. RPM).",
  858. false,
  859. "Variables That Change Behavior");
  860. cm->DefineProperty
  861. ("CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION", cmProperty::VARIABLE,
  862. "Ask cmake_install.cmake script to warn each time a file with "
  863. "absolute INSTALL DESTINATION is encountered.",
  864. "This variable is used by CMake-generated cmake_install.cmake"
  865. " scripts. If one sets this variable to ON while running the"
  866. " script, it may get warning messages from the script.", false,
  867. "Variables That Change Behavior");
  868. cm->DefineProperty
  869. ("CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION", cmProperty::VARIABLE,
  870. "Ask cmake_install.cmake script to error out as soon as "
  871. "a file with absolute INSTALL DESTINATION is encountered.",
  872. "The fatal error is emitted before the installation of "
  873. "the offending file takes place."
  874. " This variable is used by CMake-generated cmake_install.cmake"
  875. " scripts. If one sets this variable to ON while running the"
  876. " script, it may get fatal error messages from the script.",false,
  877. "Variables That Change Behavior");
  878. cm->DefineProperty
  879. ("CMAKE_DEBUG_TARGET_PROPERTIES", cmProperty::VARIABLE,
  880. "Enables tracing output for target properties.",
  881. "This variable can be populated with a list of properties to generate "
  882. "debug output for when evaluating target properties. Currently it can "
  883. "only be used when evaluating the INCLUDE_DIRECTORIES target property. "
  884. "In that case, it outputs a backtrace for each include directory in "
  885. "the build. Default is unset.",false,"Variables That Change Behavior");
  886. // Variables defined by CMake that describe the system
  887. cm->DefineProperty
  888. ("CMAKE_SYSTEM", cmProperty::VARIABLE,
  889. "Name of system cmake is compiling for.",
  890. "This variable is the composite of CMAKE_SYSTEM_NAME "
  891. "and CMAKE_SYSTEM_VERSION, like this "
  892. "${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_VERSION}. "
  893. "If CMAKE_SYSTEM_VERSION is not set, then "
  894. "CMAKE_SYSTEM is the same as CMAKE_SYSTEM_NAME.",false,
  895. "Variables That Describe the System");
  896. cm->DefineProperty
  897. ("CMAKE_SYSTEM_NAME", cmProperty::VARIABLE,
  898. "Name of the OS CMake is building for.",
  899. "This is the name of the operating system on "
  900. "which CMake is targeting. On systems that "
  901. "have the uname command, this variable is set "
  902. "to the output of uname -s. Linux, Windows, "
  903. " and Darwin for Mac OS X are the values found "
  904. " on the big three operating systems." ,false,
  905. "Variables That Describe the System");
  906. cm->DefineProperty
  907. ("CMAKE_SYSTEM_PROCESSOR", cmProperty::VARIABLE,
  908. "The name of the CPU CMake is building for.",
  909. "On systems that support uname, this variable is "
  910. "set to the output of uname -p, on windows it is "
  911. "set to the value of the environment variable "
  912. "PROCESSOR_ARCHITECTURE",false,
  913. "Variables That Describe the System");
  914. cm->DefineProperty
  915. ("CMAKE_SYSTEM_VERSION", cmProperty::VARIABLE,
  916. "OS version CMake is building for.",
  917. "A numeric version string for the system, on "
  918. "systems that support uname, this variable is "
  919. "set to the output of uname -r. On other "
  920. "systems this is set to major-minor version numbers.",false,
  921. "Variables That Describe the System");
  922. cm->DefineProperty
  923. ("CMAKE_LIBRARY_ARCHITECTURE", cmProperty::VARIABLE,
  924. "Target architecture library directory name, if detected.",
  925. "This is the value of CMAKE_<lang>_LIBRARY_ARCHITECTURE as "
  926. "detected for one of the enabled languages.",false,
  927. "Variables That Describe the System");
  928. cm->DefineProperty
  929. ("CMAKE_LIBRARY_ARCHITECTURE_REGEX", cmProperty::VARIABLE,
  930. "Regex matching possible target architecture library directory names.",
  931. "This is used to detect CMAKE_<lang>_LIBRARY_ARCHITECTURE from the "
  932. "implicit linker search path by matching the <arch> name.",false,
  933. "Variables That Describe the System");
  934. cm->DefineProperty
  935. ("CMAKE_HOST_SYSTEM", cmProperty::VARIABLE,
  936. "Name of system cmake is being run on.",
  937. "The same as CMAKE_SYSTEM but for the host system instead "
  938. "of the target system when cross compiling.",false,
  939. "Variables That Describe the System");
  940. cm->DefineProperty
  941. ("CMAKE_HOST_SYSTEM_NAME", cmProperty::VARIABLE,
  942. "Name of the OS CMake is running on.",
  943. "The same as CMAKE_SYSTEM_NAME but for the host system instead "
  944. "of the target system when cross compiling.",false,
  945. "Variables That Describe the System");
  946. cm->DefineProperty
  947. ("CMAKE_HOST_SYSTEM_PROCESSOR", cmProperty::VARIABLE,
  948. "The name of the CPU CMake is running on.",
  949. "The same as CMAKE_SYSTEM_PROCESSOR but for the host system instead "
  950. "of the target system when cross compiling.",false,
  951. "Variables That Describe the System");
  952. cm->DefineProperty
  953. ("CMAKE_HOST_SYSTEM_VERSION", cmProperty::VARIABLE,
  954. "OS version CMake is running on.",
  955. "The same as CMAKE_SYSTEM_VERSION but for the host system instead "
  956. "of the target system when cross compiling.",false,
  957. "Variables That Describe the System");
  958. cm->DefineProperty
  959. ("APPLE", cmProperty::VARIABLE,
  960. "True if running on Mac OS X.",
  961. "Set to true on Mac OS X."
  962. ,false,
  963. "Variables That Describe the System");
  964. cm->DefineProperty
  965. ("BORLAND", cmProperty::VARIABLE,
  966. "True if the Borland compiler is being used.",
  967. "This is set to true if the Borland compiler is being used.",false,
  968. "Variables That Describe the System");
  969. cm->DefineProperty
  970. ("CYGWIN", cmProperty::VARIABLE,
  971. "True for Cygwin.",
  972. "Set to true when using Cygwin."
  973. ,false,
  974. "Variables That Describe the System");
  975. cm->DefineProperty
  976. ("MSVC", cmProperty::VARIABLE,
  977. "True when using Microsoft Visual C",
  978. "Set to true when the compiler is some version of Microsoft Visual C.",
  979. false,
  980. "Variables That Describe the System");
  981. int msvc_versions[] = { 60, 70, 71, 80, 90, 100, 110, 0 };
  982. for (int i = 0; msvc_versions[i] != 0; i ++)
  983. {
  984. const char minor = (char)('0' + (msvc_versions[i] % 10));
  985. cmStdString varName = "MSVC";
  986. cmsys_ios::ostringstream majorStr;
  987. majorStr << (msvc_versions[i] / 10);
  988. varName += majorStr.str();
  989. if (msvc_versions[i] < 100)
  990. {
  991. varName += minor;
  992. }
  993. cmStdString verString = majorStr.str() + "." + minor;
  994. cmStdString shortStr = "True when using Microsoft Visual C " + verString;
  995. cmStdString fullStr = "Set to true when the compiler is version " +
  996. verString +
  997. " of Microsoft Visual C.";
  998. cm->DefineProperty
  999. (varName.c_str(), cmProperty::VARIABLE,
  1000. shortStr.c_str(),
  1001. fullStr.c_str(),
  1002. false,
  1003. "Variables That Describe the System");
  1004. }
  1005. cm->DefineProperty
  1006. ("MSVC_IDE", cmProperty::VARIABLE,
  1007. "True when using the Microsoft Visual C IDE",
  1008. "Set to true when the target platform is the Microsoft Visual C IDE, "
  1009. "as opposed to the command line compiler.",
  1010. false,
  1011. "Variables That Describe the System");
  1012. cm->DefineProperty
  1013. ("MSVC_VERSION", cmProperty::VARIABLE,
  1014. "The version of Microsoft Visual C/C++ being used if any.",
  1015. "Known version numbers are:\n"
  1016. " 1200 = VS 6.0\n"
  1017. " 1300 = VS 7.0\n"
  1018. " 1310 = VS 7.1\n"
  1019. " 1400 = VS 8.0\n"
  1020. " 1500 = VS 9.0\n"
  1021. " 1600 = VS 10.0\n"
  1022. " 1700 = VS 11.0\n"
  1023. "",
  1024. false,
  1025. "Variables That Describe the System");
  1026. cm->DefineProperty
  1027. ("CMAKE_CL_64", cmProperty::VARIABLE,
  1028. "Using the 64 bit compiler from Microsoft",
  1029. "Set to true when using the 64 bit cl compiler from Microsoft.",
  1030. false,
  1031. "Variables That Describe the System");
  1032. cm->DefineProperty
  1033. ("CMAKE_COMPILER_2005", cmProperty::VARIABLE,
  1034. "Using the Visual Studio 2005 compiler from Microsoft",
  1035. "Set to true when using the Visual Studio 2005 compiler "
  1036. "from Microsoft.",
  1037. false,
  1038. "Variables That Describe the System");
  1039. cm->DefineProperty
  1040. ("UNIX", cmProperty::VARIABLE,
  1041. "True for UNIX and UNIX like operating systems.",
  1042. "Set to true when the target system is UNIX or UNIX like "
  1043. "(i.e. APPLE and CYGWIN).",false,
  1044. "Variables That Describe the System");
  1045. cm->DefineProperty
  1046. ("WIN32", cmProperty::VARIABLE,
  1047. "True on windows systems, including win64.",
  1048. "Set to true when the target system is Windows.",false,
  1049. "Variables That Describe the System");
  1050. cm->DefineProperty
  1051. ("XCODE_VERSION", cmProperty::VARIABLE,
  1052. "Version of Xcode (Xcode generator only).",
  1053. "Under the Xcode generator, this is the version of Xcode as specified in "
  1054. "\"Xcode.app/Contents/version.plist\" (such as \"3.1.2\").",false,
  1055. "Variables That Describe the System");
  1056. cm->DefineProperty
  1057. ("CMAKE_HOST_APPLE", cmProperty::VARIABLE,
  1058. "True for Apple OS X operating systems.",
  1059. "Set to true when the host system is Apple OS X.",
  1060. false,
  1061. "Variables That Describe the System");
  1062. cm->DefineProperty
  1063. ("CMAKE_HOST_UNIX", cmProperty::VARIABLE,
  1064. "True for UNIX and UNIX like operating systems.",
  1065. "Set to true when the host system is UNIX or UNIX like "
  1066. "(i.e. APPLE and CYGWIN).",false,
  1067. "Variables That Describe the System");
  1068. cm->DefineProperty
  1069. ("CMAKE_HOST_WIN32", cmProperty::VARIABLE,
  1070. "True on windows systems, including win64.",
  1071. "Set to true when the host system is Windows and on Cygwin."
  1072. ,false,
  1073. "Variables That Describe the System");
  1074. cm->DefineProperty
  1075. ("CMAKE_OBJECT_PATH_MAX", cmProperty::VARIABLE,
  1076. "Maximum object file full-path length allowed by native build tools.",
  1077. "CMake computes for every source file an object file name that is "
  1078. "unique to the source file and deterministic with respect to the "
  1079. "full path to the source file. "
  1080. "This allows multiple source files in a target to share the same name "
  1081. "if they lie in different directories without rebuilding when one is "
  1082. "added or removed. "
  1083. "However, it can produce long full paths in a few cases, so CMake "
  1084. "shortens the path using a hashing scheme when the full path to an "
  1085. "object file exceeds a limit. "
  1086. "CMake has a built-in limit for each platform that is sufficient for "
  1087. "common tools, but some native tools may have a lower limit. "
  1088. "This variable may be set to specify the limit explicitly. "
  1089. "The value must be an integer no less than 128.",false,
  1090. "Variables That Describe the System");
  1091. // Variables that affect the building of object files and
  1092. // targets.
  1093. //
  1094. cm->DefineProperty
  1095. ("CMAKE_INCLUDE_CURRENT_DIR", cmProperty::VARIABLE,
  1096. "Automatically add the current source- and build directories "
  1097. "to the include path.",
  1098. "If this variable is enabled, CMake automatically adds in each "
  1099. "directory ${CMAKE_CURRENT_SOURCE_DIR} and ${CMAKE_CURRENT_BINARY_DIR} "
  1100. "to the include path for this directory. These additional include "
  1101. "directories do not propagate down to subdirectories. This is useful "
  1102. "mainly for out-of-source builds, where files generated into the "
  1103. "build tree are included by files located in the source tree.\n"
  1104. "By default CMAKE_INCLUDE_CURRENT_DIR is OFF.",
  1105. false,
  1106. "Variables that Control the Build");
  1107. cm->DefineProperty
  1108. ("CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE", cmProperty::VARIABLE,
  1109. "Automatically add the current source- and build directories "
  1110. "to the INTERFACE_INCLUDE_DIRECTORIES.",
  1111. "If this variable is enabled, CMake automatically adds for each shared "
  1112. "library target, static library target, module target and executable "
  1113. "target, ${CMAKE_CURRENT_SOURCE_DIR} and ${CMAKE_CURRENT_BINARY_DIR} to "
  1114. "the INTERFACE_INCLUDE_DIRECTORIES."
  1115. "By default CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE is OFF.",
  1116. false,
  1117. "Variables that Control the Build");
  1118. cm->DefineProperty
  1119. ("CMAKE_INSTALL_RPATH", cmProperty::VARIABLE,
  1120. "The rpath to use for installed targets.",
  1121. "A semicolon-separated list specifying the rpath "
  1122. "to use in installed targets (for platforms that support it). "
  1123. "This is used to initialize the target property "
  1124. "INSTALL_RPATH for all targets.",
  1125. false,
  1126. "Variables that Control the Build");
  1127. cm->DefineProperty
  1128. ("CMAKE_INSTALL_RPATH_USE_LINK_PATH", cmProperty::VARIABLE,
  1129. "Add paths to linker search and installed rpath.",
  1130. "CMAKE_INSTALL_RPATH_USE_LINK_PATH is a boolean that if set to true "
  1131. "will append directories in the linker search path and outside the "
  1132. "project to the INSTALL_RPATH. "
  1133. "This is used to initialize the target property "
  1134. "INSTALL_RPATH_USE_LINK_PATH for all targets.",
  1135. false,
  1136. "Variables that Control the Build");
  1137. cm->DefineProperty
  1138. ("CMAKE_INSTALL_NAME_DIR", cmProperty::VARIABLE,
  1139. "Mac OS X directory name for installed targets.",
  1140. "CMAKE_INSTALL_NAME_DIR is used to initialize the "
  1141. "INSTALL_NAME_DIR property on all targets. See that target "
  1142. "property for more information.",
  1143. false,
  1144. "Variables that Control the Build");
  1145. cm->DefineProperty
  1146. ("CMAKE_Fortran_FORMAT", cmProperty::VARIABLE,
  1147. "Set to FIXED or FREE to indicate the Fortran source layout.",
  1148. "This variable is used to initialize the Fortran_FORMAT "
  1149. "property on all the targets. "
  1150. "See that target property for additional information.",
  1151. false,
  1152. "Variables that Control the Build");
  1153. cm->DefineProperty
  1154. ("CMAKE_Fortran_MODULE_DIRECTORY", cmProperty::VARIABLE,
  1155. "Fortran module output directory.",
  1156. "This variable is used to initialize the "
  1157. "Fortran_MODULE_DIRECTORY property on all the targets. "
  1158. "See that target property for additional information.",
  1159. false,
  1160. "Variables that Control the Build");
  1161. cm->DefineProperty
  1162. ("CMAKE_LIBRARY_OUTPUT_DIRECTORY", cmProperty::VARIABLE,
  1163. "Where to put all the LIBRARY targets when built.",
  1164. "This variable is used to initialize the "
  1165. "LIBRARY_OUTPUT_DIRECTORY property on all the targets. "
  1166. "See that target property for additional information.",
  1167. false,
  1168. "Variables that Control the Build");
  1169. cm->DefineProperty
  1170. ("CMAKE_ARCHIVE_OUTPUT_DIRECTORY", cmProperty::VARIABLE,
  1171. "Where to put all the ARCHIVE targets when built.",
  1172. "This variable is used to initialize the "
  1173. "ARCHIVE_OUTPUT_DIRECTORY property on all the targets. "
  1174. "See that target property for additional information.",
  1175. false,
  1176. "Variables that Control the Build");
  1177. cm->DefineProperty
  1178. ("CMAKE_RUNTIME_OUTPUT_DIRECTORY", cmProperty::VARIABLE,
  1179. "Where to put all the RUNTIME targets when built.",
  1180. "This variable is used to initialize the "
  1181. "RUNTIME_OUTPUT_DIRECTORY property on all the targets. "
  1182. "See that target property for additional information.",
  1183. false,
  1184. "Variables that Control the Build");
  1185. cm->DefineProperty
  1186. ("CMAKE_PDB_OUTPUT_DIRECTORY", cmProperty::VARIABLE,
  1187. "Where to put all the MS debug symbol files from linker.",
  1188. "This variable is used to initialize the "
  1189. "PDB_OUTPUT_DIRECTORY property on all the targets. "
  1190. "See that target property for additional information.",
  1191. false,
  1192. "Variables that Control the Build");
  1193. cm->DefineProperty
  1194. ("CMAKE_LINK_DEPENDS_NO_SHARED", cmProperty::VARIABLE,
  1195. "Whether to skip link dependencies on shared library files.",
  1196. "This variable initializes the LINK_DEPENDS_NO_SHARED "
  1197. "property on targets when they are created. "
  1198. "See that target property for additional information.",
  1199. false,
  1200. "Variables that Control the Build");
  1201. cm->DefineProperty
  1202. ("CMAKE_AUTOMOC", cmProperty::VARIABLE,
  1203. "Whether to handle moc automatically for Qt targets.",
  1204. "This variable is used to initialize the "
  1205. "AUTOMOC property on all the targets. "
  1206. "See that target property for additional information.",
  1207. false,
  1208. "Variables that Control the Build");
  1209. cm->DefineProperty
  1210. ("CMAKE_AUTOMOC_MOC_OPTIONS", cmProperty::VARIABLE,
  1211. "Additional options for moc when using automoc (see CMAKE_AUTOMOC).",
  1212. "This variable is used to initialize the "
  1213. "AUTOMOC_MOC_OPTIONS property on all the targets. "
  1214. "See that target property for additional information.",
  1215. false,
  1216. "Variables that Control the Build");
  1217. cm->DefineProperty
  1218. ("CMAKE_GNUtoMS", cmProperty::VARIABLE,
  1219. "Convert GNU import libraries (.dll.a) to MS format (.lib).",
  1220. "This variable is used to initialize the GNUtoMS property on targets "
  1221. "when they are created. "
  1222. "See that target property for additional information.",
  1223. false,
  1224. "Variables that Control the Build");
  1225. cm->DefineProperty
  1226. ("CMAKE_DEBUG_POSTFIX", cmProperty::VARIABLE,
  1227. "See variable CMAKE_<CONFIG>_POSTFIX.",
  1228. "This variable is a special case of the more-general "
  1229. "CMAKE_<CONFIG>_POSTFIX variable for the DEBUG configuration.",
  1230. false,
  1231. "Variables that Control the Build");
  1232. cm->DefineProperty
  1233. ("CMAKE_<CONFIG>_POSTFIX", cmProperty::VARIABLE,
  1234. "Default filename postfix for libraries under configuration <CONFIG>.",
  1235. "When a non-executable target is created its <CONFIG>_POSTFIX "
  1236. "target property is initialized with the value of this variable "
  1237. "if it is set.",
  1238. false,
  1239. "Variables that Control the Build");
  1240. cm->DefineProperty
  1241. ("CMAKE_BUILD_WITH_INSTALL_RPATH", cmProperty::VARIABLE,
  1242. "Use the install path for the RPATH",
  1243. "Normally CMake uses the build tree for the RPATH when building "
  1244. "executables etc on systems that use RPATH. When the software "
  1245. "is installed the executables etc are relinked by CMake to have "
  1246. "the install RPATH. If this variable is set to true then the software "
  1247. "is always built with the install path for the RPATH and does not "
  1248. "need to be relinked when installed.",false,
  1249. "Variables that Control the Build");
  1250. cm->DefineProperty
  1251. ("CMAKE_NO_BUILTIN_CHRPATH", cmProperty::VARIABLE,
  1252. "Do not use the builtin ELF editor to fix RPATHs on installation.",
  1253. "When an ELF binary needs to have a different RPATH after installation "
  1254. "than it does in the build tree, CMake uses a builtin editor to change "
  1255. "the RPATH in the installed copy. "
  1256. "If this variable is set to true then CMake will relink the binary "
  1257. "before installation instead of using its builtin editor.",false,
  1258. "Variables that Control the Build");
  1259. cm->DefineProperty
  1260. ("CMAKE_SKIP_BUILD_RPATH", cmProperty::VARIABLE,
  1261. "Do not include RPATHs in the build tree.",
  1262. "Normally CMake uses the build tree for the RPATH when building "
  1263. "executables etc on systems that use RPATH. When the software "
  1264. "is installed the executables etc are relinked by CMake to have "
  1265. "the install RPATH. If this variable is set to true then the software "
  1266. "is always built with no RPATH.",false,
  1267. "Variables that Control the Build");
  1268. cm->DefineProperty
  1269. ("CMAKE_SKIP_INSTALL_RPATH", cmProperty::VARIABLE,
  1270. "Do not include RPATHs in the install tree.",
  1271. "Normally CMake uses the build tree for the RPATH when building "
  1272. "executables etc on systems that use RPATH. When the software "
  1273. "is installed the executables etc are relinked by CMake to have "
  1274. "the install RPATH. If this variable is set to true then the software "
  1275. "is always installed without RPATH, even if RPATH is enabled when "
  1276. "building. This can be useful for example to allow running tests from "
  1277. "the build directory with RPATH enabled before the installation step. "
  1278. "To omit RPATH in both the build and install steps, use "
  1279. "CMAKE_SKIP_RPATH instead.",false,
  1280. "Variables that Control the Build");
  1281. cm->DefineProperty
  1282. ("CMAKE_EXE_LINKER_FLAGS", cmProperty::VARIABLE,
  1283. "Linker flags to be used to create executables.",
  1284. "These flags will be used by the linker when creating an executable."
  1285. ,false,
  1286. "Variables that Control the Build");
  1287. cm->DefineProperty
  1288. ("CMAKE_EXE_LINKER_FLAGS_<CONFIG>", cmProperty::VARIABLE,
  1289. "Flags to be used when linking an executable.",
  1290. "Same as CMAKE_C_FLAGS_* but used by the linker "
  1291. "when creating executables.",false,
  1292. "Variables that Control the Build");
  1293. cm->DefineProperty
  1294. ("CMAKE_LIBRARY_PATH_FLAG", cmProperty::VARIABLE,
  1295. "The flag to be used to add a library search path to a compiler.",
  1296. "The flag will be used to specify a library directory to the compiler. "
  1297. "On most compilers this is \"-L\".",false,
  1298. "Variables that Control the Build");
  1299. cm->DefineProperty
  1300. ("CMAKE_LINK_DEF_FILE_FLAG ", cmProperty::VARIABLE,
  1301. "Linker flag to be used to specify a .def file for dll creation.",
  1302. "The flag will be used to add a .def file when creating "
  1303. "a dll on Windows; this is only defined on Windows."
  1304. ,false,
  1305. "Variables that Control the Build");
  1306. cm->DefineProperty
  1307. ("CMAKE_LINK_LIBRARY_FLAG", cmProperty::VARIABLE,
  1308. "Flag to be used to link a library into an executable.",
  1309. "The flag will be used to specify a library to link to an executable. "
  1310. "On most compilers this is \"-l\".",false,
  1311. "Variables that Control the Build");
  1312. cm->DefineProperty
  1313. ("CMAKE_LINK_LIBRARY_FILE_FLAG", cmProperty::VARIABLE,
  1314. "Flag to be used to link a library specified by a path to its file.",
  1315. "The flag will be used before a library file path is given to the "
  1316. "linker. "
  1317. "This is needed only on very few platforms.", false,
  1318. "Variables that Control the Build");
  1319. cm->DefineProperty
  1320. ("CMAKE_USE_RELATIVE_PATHS", cmProperty::VARIABLE,
  1321. "Use relative paths (May not work!).",
  1322. "If this is set to TRUE, then CMake will use "
  1323. "relative paths between the source and binary tree. "
  1324. "This option does not work for more complicated "
  1325. "projects, and relative paths are used when possible. "
  1326. "In general, it is not possible to move CMake generated"
  1327. " makefiles to a different location regardless "
  1328. "of the value of this variable.",false,
  1329. "Variables that Control the Build");
  1330. cm->DefineProperty
  1331. ("EXECUTABLE_OUTPUT_PATH", cmProperty::VARIABLE,
  1332. "Old executable location variable.",
  1333. "The target property RUNTIME_OUTPUT_DIRECTORY supercedes "
  1334. "this variable for a target if it is set. "
  1335. "Executable targets are otherwise placed in this directory.",false,
  1336. "Variables that Control the Build");
  1337. cm->DefineProperty
  1338. ("LIBRARY_OUTPUT_PATH", cmProperty::VARIABLE,
  1339. "Old library location variable.",
  1340. "The target properties ARCHIVE_OUTPUT_DIRECTORY, "
  1341. "LIBRARY_OUTPUT_DIRECTORY, and RUNTIME_OUTPUT_DIRECTORY supercede "
  1342. "this variable for a target if they are set. "
  1343. "Library targets are otherwise placed in this directory.",false,
  1344. "Variables that Control the Build");
  1345. cm->DefineProperty
  1346. ("CMAKE_TRY_COMPILE_CONFIGURATION", cmProperty::VARIABLE,
  1347. "Build configuration used for try_compile and try_run projects.",
  1348. "Projects built by try_compile and try_run are built "
  1349. "synchronously during the CMake configuration step. "
  1350. "Therefore a specific build configuration must be chosen even "
  1351. "if the generated build system supports multiple configurations.",false,
  1352. "Variables that Control the Build");
  1353. cm->DefineProperty
  1354. ("CMAKE_LINK_INTERFACE_LIBRARIES", cmProperty::VARIABLE,
  1355. "Default value for LINK_INTERFACE_LIBRARIES of targets.",
  1356. "This variable is used to initialize the "
  1357. "LINK_INTERFACE_LIBRARIES property on all the targets. "
  1358. "See that target property for additional information.",
  1359. false,
  1360. "Variables that Control the Build");
  1361. cm->DefineProperty
  1362. ("CMAKE_WIN32_EXECUTABLE", cmProperty::VARIABLE,
  1363. "Default value for WIN32_EXECUTABLE of targets.",
  1364. "This variable is used to initialize the "
  1365. "WIN32_EXECUTABLE property on all the targets. "
  1366. "See that target property for additional information.",
  1367. false,
  1368. "Variables that Control the Build");
  1369. cm->DefineProperty
  1370. ("CMAKE_MACOSX_BUNDLE", cmProperty::VARIABLE,
  1371. "Default value for MACOSX_BUNDLE of targets.",
  1372. "This variable is used to initialize the "
  1373. "MACOSX_BUNDLE property on all the targets. "
  1374. "See that target property for additional information.",
  1375. false,
  1376. "Variables that Control the Build");
  1377. cm->DefineProperty
  1378. ("CMAKE_POSITION_INDEPENDENT_CODE", cmProperty::VARIABLE,
  1379. "Default value for POSITION_INDEPENDENT_CODE of targets.",
  1380. "This variable is used to initialize the "
  1381. "POSITION_INDEPENDENT_CODE property on all the targets. "
  1382. "See that target property for additional information.",
  1383. false,
  1384. "Variables that Control the Build");
  1385. // Variables defined when the a language is enabled These variables will
  1386. // also be defined whenever CMake has loaded its support for compiling (LANG)
  1387. // programs. This support will be loaded whenever CMake is used to compile
  1388. // (LANG) files. C and CXX are examples of the most common values for (LANG).
  1389. cm->DefineProperty
  1390. ("CMAKE_USER_MAKE_RULES_OVERRIDE_<LANG>", cmProperty::VARIABLE,
  1391. "Specify a CMake file that overrides platform information for <LANG>.",
  1392. "This is a language-specific version of "
  1393. "CMAKE_USER_MAKE_RULES_OVERRIDE loaded only when enabling "
  1394. "language <LANG>.",false,
  1395. "Variables for Languages");
  1396. cm->DefineProperty
  1397. ("CMAKE_<LANG>_COMPILER", cmProperty::VARIABLE,
  1398. "The full path to the compiler for LANG.",
  1399. "This is the command that will be used as the <LANG> compiler. "
  1400. "Once set, you can not change this variable.",false,
  1401. "Variables for Languages");
  1402. cm->DefineProperty
  1403. ("CMAKE_<LANG>_COMPILER_ID", cmProperty::VARIABLE,
  1404. "Compiler identification string.",
  1405. "A short string unique to the compiler vendor. "
  1406. "Possible values include:\n"
  1407. " Absoft = Absoft Fortran (absoft.com)\n"
  1408. " ADSP = Analog VisualDSP++ (analog.com)\n"
  1409. " Clang = LLVM Clang (clang.llvm.org)\n"
  1410. " Cray = Cray Compiler (cray.com)\n"
  1411. " Embarcadero, Borland = Embarcadero (embarcadero.com)\n"
  1412. " G95 = G95 Fortran (g95.org)\n"
  1413. " GNU = GNU Compiler Collection (gcc.gnu.org)\n"
  1414. " HP = Hewlett-Packard Compiler (hp.com)\n"
  1415. " Intel = Intel Compiler (intel.com)\n"
  1416. " MIPSpro = SGI MIPSpro (sgi.com)\n"
  1417. " MSVC = Microsoft Visual Studio (microsoft.com)\n"
  1418. " PGI = The Portland Group (pgroup.com)\n"
  1419. " PathScale = PathScale (pathscale.com)\n"
  1420. " SDCC = Small Device C Compiler (sdcc.sourceforge.net)\n"
  1421. " SunPro = Oracle Solaris Studio (oracle.com)\n"
  1422. " TI = Texas Instruments (ti.com)\n"
  1423. " TinyCC = Tiny C Compiler (tinycc.org)\n"
  1424. " Watcom = Open Watcom (openwatcom.org)\n"
  1425. " XL, VisualAge, zOS = IBM XL (ibm.com)\n"
  1426. "This variable is not guaranteed to be defined for all "
  1427. "compilers or languages.",
  1428. false,
  1429. "Variables for Languages");
  1430. cm->DefineProperty
  1431. ("CMAKE_<LANG>_PLATFORM_ID", cmProperty::VARIABLE,
  1432. "An internal variable subject to change.",
  1433. "This is used in determining the platform and is subject to change.",
  1434. false,
  1435. "Variables for Languages");
  1436. cm->DefineProperty
  1437. ("CMAKE_<LANG>_COMPILER_ABI", cmProperty::VARIABLE,
  1438. "An internal variable subject to change.",
  1439. "This is used in determining the compiler ABI and is subject to change.",
  1440. false,
  1441. "Variables for Languages");
  1442. cm->DefineProperty
  1443. ("CMAKE_<LANG>_COMPILER_VERSION", cmProperty::VARIABLE,
  1444. "Compiler version string.",
  1445. "Compiler version in major[.minor[.patch[.tweak]]] format. "
  1446. "This variable is not guaranteed to be defined for all "
  1447. "compilers or languages.",
  1448. false,
  1449. "Variables for Languages");
  1450. cm->DefineProperty
  1451. ("CMAKE_INTERNAL_PLATFORM_ABI", cmProperty::VARIABLE,
  1452. "An internal variable subject to change.",
  1453. "This is used in determining the compiler ABI and is subject to change.",
  1454. false,
  1455. "Variables for Languages");
  1456. cm->DefineProperty
  1457. ("CMAKE_<LANG>_SIZEOF_DATA_PTR", cmProperty::VARIABLE,
  1458. "Size of pointer-to-data types for language <LANG>.",
  1459. "This holds the size (in bytes) of pointer-to-data types in the target "
  1460. "platform ABI. "
  1461. "It is defined for languages C and CXX (C++).",
  1462. false,
  1463. "Variables for Languages");
  1464. cm->DefineProperty
  1465. ("CMAKE_COMPILER_IS_GNU<LANG>", cmProperty::VARIABLE,
  1466. "True if the compiler is GNU.",
  1467. "If the selected <LANG> compiler is the GNU "
  1468. "compiler then this is TRUE, if not it is FALSE. "
  1469. "Unlike the other per-language variables, this uses the GNU syntax for "
  1470. "identifying languages instead of the CMake syntax. Recognized values of "
  1471. "the <LANG> suffix are:\n"
  1472. " CC = C compiler\n"
  1473. " CXX = C++ compiler\n"
  1474. " G77 = Fortran compiler",
  1475. false,
  1476. "Variables for Languages");
  1477. cm->DefineProperty
  1478. ("CMAKE_<LANG>_FLAGS_DEBUG", cmProperty::VARIABLE,
  1479. "Flags for Debug build type or configuration.",
  1480. "<LANG> flags used when CMAKE_BUILD_TYPE is Debug.",false,
  1481. "Variables for Languages");
  1482. cm->DefineProperty
  1483. ("CMAKE_<LANG>_FLAGS_MINSIZEREL", cmProperty::VARIABLE,
  1484. "Flags for MinSizeRel build type or configuration.",
  1485. "<LANG> flags used when CMAKE_BUILD_TYPE is MinSizeRel."
  1486. "Short for minimum size release.",false,
  1487. "Variables for Languages");
  1488. cm->DefineProperty
  1489. ("CMAKE_<LANG>_FLAGS_RELEASE", cmProperty::VARIABLE,
  1490. "Flags for Release build type or configuration.",
  1491. "<LANG> flags used when CMAKE_BUILD_TYPE is Release",false,
  1492. "Variables for Languages");
  1493. cm->DefineProperty
  1494. ("CMAKE_<LANG>_FLAGS_RELWITHDEBINFO", cmProperty::VARIABLE,
  1495. "Flags for RelWithDebInfo type or configuration.",
  1496. "<LANG> flags used when CMAKE_BUILD_TYPE is RelWithDebInfo. "
  1497. "Short for Release With Debug Information.",false,
  1498. "Variables for Languages");
  1499. cm->DefineProperty
  1500. ("CMAKE_<LANG>_COMPILE_OBJECT", cmProperty::VARIABLE,
  1501. "Rule variable to compile a single object file.",
  1502. "This is a rule variable that tells CMake how to "
  1503. "compile a single object file for the language <LANG>."
  1504. ,false,
  1505. "Variables for Languages");
  1506. cm->DefineProperty
  1507. ("CMAKE_<LANG>_CREATE_SHARED_LIBRARY", cmProperty::VARIABLE,
  1508. "Rule variable to create a shared library.",
  1509. "This is a rule variable that tells CMake how to "
  1510. "create a shared library for the language <LANG>.",false,
  1511. "Variables for Languages");
  1512. cm->DefineProperty
  1513. ("CMAKE_<LANG>_CREATE_SHARED_MODULE", cmProperty::VARIABLE,
  1514. "Rule variable to create a shared module.",
  1515. "This is a rule variable that tells CMake how to "
  1516. "create a shared library for the language <LANG>.",false,
  1517. "Variables for Languages");
  1518. cm->DefineProperty
  1519. ("CMAKE_<LANG>_CREATE_STATIC_LIBRARY", cmProperty::VARIABLE,
  1520. "Rule variable to create a static library.",
  1521. "This is a rule variable that tells CMake how "
  1522. "to create a static library for the language <LANG>.",false,
  1523. "Variables for Languages");
  1524. cm->DefineProperty
  1525. ("CMAKE_<LANG>_ARCHIVE_CREATE", cmProperty::VARIABLE,
  1526. "Rule variable to create a new static archive.",
  1527. "This is a rule variable that tells CMake how to create a static "
  1528. "archive. It is used in place of CMAKE_<LANG>_CREATE_STATIC_LIBRARY "
  1529. "on some platforms in order to support large object counts. "
  1530. "See also CMAKE_<LANG>_ARCHIVE_APPEND and CMAKE_<LANG>_ARCHIVE_FINISH.",
  1531. false, "Variables for Languages");
  1532. cm->DefineProperty
  1533. ("CMAKE_<LANG>_ARCHIVE_APPEND", cmProperty::VARIABLE,
  1534. "Rule variable to append to a static archive.",
  1535. "This is a rule variable that tells CMake how to append to a static "
  1536. "archive. It is used in place of CMAKE_<LANG>_CREATE_STATIC_LIBRARY "
  1537. "on some platforms in order to support large object counts. "
  1538. "See also CMAKE_<LANG>_ARCHIVE_CREATE and CMAKE_<LANG>_ARCHIVE_FINISH.",
  1539. false, "Variables for Languages");
  1540. cm->DefineProperty
  1541. ("CMAKE_<LANG>_ARCHIVE_FINISH", cmProperty::VARIABLE,
  1542. "Rule variable to finish an existing static archive.",
  1543. "This is a rule variable that tells CMake how to finish a static "
  1544. "archive. It is used in place of CMAKE_<LANG>_CREATE_STATIC_LIBRARY "
  1545. "on some platforms in order to support large object counts. "
  1546. "See also CMAKE_<LANG>_ARCHIVE_CREATE and CMAKE_<LANG>_ARCHIVE_APPEND.",
  1547. false, "Variables for Languages");
  1548. cm->DefineProperty
  1549. ("CMAKE_<LANG>_IGNORE_EXTENSIONS", cmProperty::VARIABLE,
  1550. "File extensions that should be ignored by the build.",
  1551. "This is a list of file extensions that may be "
  1552. "part of a project for a given language but are not compiled. ",false,
  1553. "Variables for Languages");
  1554. cm->DefineProperty
  1555. ("CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES", cmProperty::VARIABLE,
  1556. "Directories implicitly searched by the compiler for header files.",
  1557. "CMake does not explicitly specify these directories on compiler "
  1558. "command lines for language <LANG>. "
  1559. "This prevents system include directories from being treated as user "
  1560. "include directories on some compilers.", false,
  1561. "Variables for Languages");
  1562. cm->DefineProperty
  1563. ("CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES", cmProperty::VARIABLE,
  1564. "Implicit linker search path detected for language <LANG>.",
  1565. "Compilers typically pass directories containing language runtime "
  1566. "libraries and default library search paths when they invoke a linker. "
  1567. "These paths are implicit linker search directories for the compiler's "
  1568. "language. "
  1569. "CMake automatically detects these directories for each language and "
  1570. "reports the results in this variable."
  1571. "\n"
  1572. "When a library in one of these directories is given by full path to "
  1573. "target_link_libraries() CMake will generate the -l<name> form on "
  1574. "link lines to ensure the linker searches its implicit directories "
  1575. "for the library. "
  1576. "Note that some toolchains read implicit directories from an "
  1577. "environment variable such as LIBRARY_PATH so keep its value "
  1578. "consistent when operating in a given build tree.",false,
  1579. "Variables for Languages");
  1580. cm->DefineProperty
  1581. ("CMAKE_<LANG>_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES", cmProperty::VARIABLE,
  1582. "Implicit linker framework search path detected for language <LANG>.",
  1583. "These paths are implicit linker framework search directories for "
  1584. "the compiler's language. "
  1585. "CMake automatically detects these directories for each language and "
  1586. "reports the results in this variable.", false,
  1587. "Variables for Languages");
  1588. cm->DefineProperty
  1589. ("CMAKE_<LANG>_IMPLICIT_LINK_LIBRARIES", cmProperty::VARIABLE,
  1590. "Implicit link libraries and flags detected for language <LANG>.",
  1591. "Compilers typically pass language runtime library names and "
  1592. "other flags when they invoke a linker. "
  1593. "These flags are implicit link options for the compiler's language. "
  1594. "CMake automatically detects these libraries and flags for each "
  1595. "language and reports the results in this variable.", false,
  1596. "Variables for Languages");
  1597. cm->DefineProperty
  1598. ("CMAKE_<LANG>_LIBRARY_ARCHITECTURE", cmProperty::VARIABLE,
  1599. "Target architecture library directory name detected for <lang>.",
  1600. "If the <lang> compiler passes to the linker an architecture-specific "
  1601. "system library search directory such as <prefix>/lib/<arch> this "
  1602. "variable contains the <arch> name if/as detected by CMake.",false,
  1603. "Variables for Languages");
  1604. cm->DefineProperty
  1605. ("CMAKE_<LANG>_LINKER_PREFERENCE_PROPAGATES", cmProperty::VARIABLE,
  1606. "True if CMAKE_<LANG>_LINKER_PREFERENCE propagates across targets.",
  1607. "This is used when CMake selects a linker language for a target. "
  1608. "Languages compiled directly into the target are always considered. "
  1609. "A language compiled into static libraries linked by the target is "
  1610. "considered if this variable is true.", false,
  1611. "Variables for Languages");
  1612. cm->DefineProperty
  1613. ("CMAKE_<LANG>_LINKER_PREFERENCE", cmProperty::VARIABLE,
  1614. "Preference value for linker language selection.",
  1615. "The \"linker language\" for executable, shared library, and module "
  1616. "targets is the language whose compiler will invoke the linker. "
  1617. "The LINKER_LANGUAGE target property sets the language explicitly. "
  1618. "Otherwise, the linker language is that whose linker preference value "
  1619. "is highest among languages compiled and linked into the target. "
  1620. "See also the CMAKE_<LANG>_LINKER_PREFERENCE_PROPAGATES variable.",
  1621. false,
  1622. "Variables for Languages");
  1623. cm->DefineProperty
  1624. ("CMAKE_<LANG>_LINK_EXECUTABLE ", cmProperty::VARIABLE,
  1625. "Rule variable to link an executable.",
  1626. "Rule variable to link an executable for the given language."
  1627. ,false,
  1628. "Variables for Languages");
  1629. cm->DefineProperty
  1630. ("CMAKE_<LANG>_OUTPUT_EXTENSION", cmProperty::VARIABLE,
  1631. "Extension for the output of a compile for a single file.",
  1632. "This is the extension for an object file for "
  1633. "the given <LANG>. For example .obj for C on Windows.",false,
  1634. "Variables for Languages");
  1635. cm->DefineProperty
  1636. ("CMAKE_<LANG>_SOURCE_FILE_EXTENSIONS", cmProperty::VARIABLE,
  1637. "Extensions of source files for the given language.",
  1638. "This is the list of extensions for a "
  1639. "given language's source files."
  1640. ,false,
  1641. "Variables for Languages");
  1642. cm->DefineProperty(
  1643. "CMAKE_<LANG>_COMPILER_LOADED", cmProperty::VARIABLE,
  1644. "Defined to true if the language is enabled.",
  1645. "When language <LANG> is enabled by project() or enable_language() "
  1646. "this variable is defined to 1.",
  1647. false,"Variables for Languages");
  1648. cm->DefineProperty(
  1649. "CMAKE_Fortran_MODDIR_FLAG", cmProperty::VARIABLE,
  1650. "Fortran flag for module output directory.",
  1651. "This stores the flag needed to pass the value of the "
  1652. "Fortran_MODULE_DIRECTORY target property to the compiler.",
  1653. false,"Variables for Languages");
  1654. cm->DefineProperty(
  1655. "CMAKE_Fortran_MODDIR_DEFAULT", cmProperty::VARIABLE,
  1656. "Fortran default module output directory.",
  1657. "Most Fortran compilers write .mod files to the current working "
  1658. "directory. "
  1659. "For those that do not, this is set to \".\" and used when the "
  1660. "Fortran_MODULE_DIRECTORY target property is not set.",
  1661. false,"Variables for Languages");
  1662. cm->DefineProperty(
  1663. "CMAKE_Fortran_MODOUT_FLAG", cmProperty::VARIABLE,
  1664. "Fortran flag to enable module output.",
  1665. "Most Fortran compilers write .mod files out by default. "
  1666. "For others, this stores the flag needed to enable module output.",
  1667. false,"Variables for Languages");
  1668. // variables that are used by cmake but not to be documented
  1669. cm->DefineProperty("CMAKE_MATCH_0", cmProperty::VARIABLE,0,0);
  1670. cm->DefineProperty("CMAKE_MATCH_1", cmProperty::VARIABLE,0,0);
  1671. cm->DefineProperty("CMAKE_MATCH_2", cmProperty::VARIABLE,0,0);
  1672. cm->DefineProperty("CMAKE_MATCH_3", cmProperty::VARIABLE,0,0);
  1673. cm->DefineProperty("CMAKE_MATCH_4", cmProperty::VARIABLE,0,0);
  1674. cm->DefineProperty("CMAKE_MATCH_5", cmProperty::VARIABLE,0,0);
  1675. cm->DefineProperty("CMAKE_MATCH_6", cmProperty::VARIABLE,0,0);
  1676. cm->DefineProperty("CMAKE_MATCH_7", cmProperty::VARIABLE,0,0);
  1677. cm->DefineProperty("CMAKE_MATCH_8", cmProperty::VARIABLE,0,0);
  1678. cm->DefineProperty("CMAKE_MATCH_9", cmProperty::VARIABLE,0,0);
  1679. cm->DefineProperty("CMAKE_<LANG>_COMPILER_ARG1",
  1680. cmProperty::VARIABLE,0,0);
  1681. cm->DefineProperty("CMAKE_<LANG>_COMPILER_ENV_VAR",
  1682. cmProperty::VARIABLE,0,0);
  1683. cm->DefineProperty("CMAKE_<LANG>_COMPILER_ID_RUN",
  1684. cmProperty::VARIABLE,0,0);
  1685. cm->DefineProperty("CMAKE_<LANG>_ABI_FILES",
  1686. cmProperty::VARIABLE,0,0);
  1687. cm->DefineProperty("CMAKE_<LANG>_CREATE_ASSEMBLY_SOURCE",
  1688. cmProperty::VARIABLE,0,0);
  1689. cm->DefineProperty("CMAKE_<LANG>_CREATE_PREPROCESSED_SOURCE",
  1690. cmProperty::VARIABLE,0,0);
  1691. cm->DefineProperty("CMAKE_<LANG>_FLAGS",
  1692. cmProperty::VARIABLE,0,0);
  1693. cm->DefineProperty("CMAKE_<LANG>_FLAGS_DEBUG_INIT",
  1694. cmProperty::VARIABLE,0,0);
  1695. cm->DefineProperty("CMAKE_<LANG>_FLAGS_INIT",
  1696. cmProperty::VARIABLE,0,0);
  1697. cm->DefineProperty("CMAKE_<LANG>_FLAGS_MINSIZEREL_INIT",
  1698. cmProperty::VARIABLE,0,0);
  1699. cm->DefineProperty("CMAKE_<LANG>_FLAGS_RELEASE_INIT",
  1700. cmProperty::VARIABLE,0,0);
  1701. cm->DefineProperty("CMAKE_<LANG>_FLAGS_RELWITHDEBINFO_INIT",
  1702. cmProperty::VARIABLE,0,0);
  1703. cm->DefineProperty("CMAKE_<LANG>_INFORMATION_LOADED",
  1704. cmProperty::VARIABLE,0,0);
  1705. cm->DefineProperty("CMAKE_<LANG>_LINK_EXECUTABLE",
  1706. cmProperty::VARIABLE,0,0);
  1707. cm->DefineProperty("CMAKE_<LANG>_LINK_FLAGS",
  1708. cmProperty::VARIABLE,0,0);
  1709. cm->DefineProperty("CMAKE_<LANG>_RESPONSE_FILE_LINK_FLAG",
  1710. cmProperty::VARIABLE,0,0);
  1711. cm->DefineProperty("CMAKE_<LANG>_STANDARD_LIBRARIES",
  1712. cmProperty::VARIABLE,0,0);
  1713. cm->DefineProperty("CMAKE_<LANG>_STANDARD_LIBRARIES_INIT",
  1714. cmProperty::VARIABLE,0,0);
  1715. cm->DefineProperty("CMAKE_<LANG>_USE_RESPONSE_FILE_FOR_INCLUDES",
  1716. cmProperty::VARIABLE,0,0);
  1717. cm->DefineProperty("CMAKE_<LANG>_USE_RESPONSE_FILE_FOR_OBJECTS",
  1718. cmProperty::VARIABLE,0,0);
  1719. cm->DefineProperty("CMAKE_EXECUTABLE_SUFFIX_<LANG>",
  1720. cmProperty::VARIABLE,0,0);
  1721. cm->DefineProperty("CMAKE_EXE_LINK_DYNAMIC_<LANG>_FLAGS",
  1722. cmProperty::VARIABLE,0,0);
  1723. cm->DefineProperty("CMAKE_EXE_LINK_STATIC_<LANG>_FLAGS",
  1724. cmProperty::VARIABLE,0,0);
  1725. cm->DefineProperty("CMAKE_GENERATOR_<LANG>",
  1726. cmProperty::VARIABLE,0,0);
  1727. cm->DefineProperty("CMAKE_IMPORT_LIBRARY_PREFIX_<LANG>",
  1728. cmProperty::VARIABLE,0,0);
  1729. cm->DefineProperty("CMAKE_IMPORT_LIBRARY_SUFFIX_<LANG>",
  1730. cmProperty::VARIABLE,0,0);
  1731. cm->DefineProperty("CMAKE_INCLUDE_FLAG_<LANG>",
  1732. cmProperty::VARIABLE,0,0);
  1733. cm->DefineProperty("CMAKE_INCLUDE_FLAG_SEP_<LANG>",
  1734. cmProperty::VARIABLE,0,0);
  1735. cm->DefineProperty("CMAKE_INCLUDE_SYSTEM_FLAG_<LANG>",
  1736. cmProperty::VARIABLE,0,0);
  1737. cm->DefineProperty("CMAKE_NEEDS_REQUIRES_STEP_<LANG>_FLAG",
  1738. cmProperty::VARIABLE,0,0);
  1739. cm->DefineProperty("CMAKE_SHARED_LIBRARY_CREATE_<LANG>_FLAGS",
  1740. cmProperty::VARIABLE,0,0);
  1741. cm->DefineProperty("CMAKE_SHARED_LIBRARY_<LANG>_FLAGS",
  1742. cmProperty::VARIABLE,0,0);
  1743. cm->DefineProperty("CMAKE_SHARED_LIBRARY_LINK_<LANG>_FLAGS",
  1744. cmProperty::VARIABLE,0,0);
  1745. cm->DefineProperty("CMAKE_SHARED_LIBRARY_LINK_DYNAMIC_<LANG>_FLAGS",
  1746. cmProperty::VARIABLE,0,0);
  1747. cm->DefineProperty("CMAKE_SHARED_LIBRARY_LINK_STATIC_<LANG>_FLAGS",
  1748. cmProperty::VARIABLE,0,0);
  1749. cm->DefineProperty("CMAKE_SHARED_LIBRARY_PREFIX_<LANG>",
  1750. cmProperty::VARIABLE,0,0);
  1751. cm->DefineProperty("CMAKE_SHARED_LIBRARY_SUFFIX_<LANG>",
  1752. cmProperty::VARIABLE,0,0);
  1753. cm->DefineProperty("CMAKE_SHARED_LIBRARY_RUNTIME_<LANG>_FLAG",
  1754. cmProperty::VARIABLE,0,0);
  1755. cm->DefineProperty("CMAKE_SHARED_LIBRARY_RUNTIME_<LANG>_FLAG_SEP",
  1756. cmProperty::VARIABLE,0,0);
  1757. cm->DefineProperty("CMAKE_SHARED_LIBRARY_RPATH_LINK_<LANG>_FLAG",
  1758. cmProperty::VARIABLE,0,0);
  1759. cm->DefineProperty("CMAKE_EXECUTABLE_RUNTIME_<LANG>_FLAG",
  1760. cmProperty::VARIABLE,0,0);
  1761. cm->DefineProperty("CMAKE_EXECUTABLE_RUNTIME_<LANG>_FLAG_SEP",
  1762. cmProperty::VARIABLE,0,0);
  1763. cm->DefineProperty("CMAKE_EXECUTABLE_RPATH_LINK_<LANG>_FLAG",
  1764. cmProperty::VARIABLE,0,0);
  1765. cm->DefineProperty("CMAKE_PLATFORM_REQUIRED_RUNTIME_PATH",
  1766. cmProperty::VARIABLE,0,0);
  1767. cm->DefineProperty(
  1768. "CMAKE_<LANG>_USE_IMPLICIT_LINK_DIRECTORIES_IN_RUNTIME_PATH",
  1769. cmProperty::VARIABLE,0,0);
  1770. cm->DefineProperty("CMAKE_SHARED_MODULE_CREATE_<LANG>_FLAGS",
  1771. cmProperty::VARIABLE,0,0);
  1772. cm->DefineProperty("CMAKE_SHARED_MODULE_<LANG>_FLAGS",
  1773. cmProperty::VARIABLE,0,0);
  1774. cm->DefineProperty("CMAKE_SHARED_MODULE_LINK_DYNAMIC_<LANG>_FLAGS",
  1775. cmProperty::VARIABLE,0,0);
  1776. cm->DefineProperty("CMAKE_SHARED_MODULE_LINK_STATIC_<LANG>_FLAGS",
  1777. cmProperty::VARIABLE,0,0);
  1778. cm->DefineProperty("CMAKE_SHARED_MODULE_PREFIX_<LANG>",
  1779. cmProperty::VARIABLE,0,0);
  1780. cm->DefineProperty("CMAKE_SHARED_MODULE_SUFFIX_<LANG>",
  1781. cmProperty::VARIABLE,0,0);
  1782. cm->DefineProperty("CMAKE_STATIC_LIBRARY_PREFIX_<LANG>",
  1783. cmProperty::VARIABLE,0,0);
  1784. cm->DefineProperty("CMAKE_STATIC_LIBRARY_SUFFIX_<LANG>",
  1785. cmProperty::VARIABLE,0,0);
  1786. cm->DefineProperty("CMAKE_LINK_DEPENDENT_LIBRARY_FILES",
  1787. cmProperty::VARIABLE,0,0);
  1788. cm->DefineProperty("CMAKE_LINK_DEPENDENT_LIBRARY_DIRS",
  1789. cmProperty::VARIABLE,0,0);
  1790. cm->DefineProperty("CMAKE_MAKE_INCLUDE_FROM_ROOT",
  1791. cmProperty::VARIABLE,0,0);
  1792. }