cmDocumentVariables.cxx 70 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528
  1. #include "cmDocumentVariables.h"
  2. #include "cmake.h"
  3. void cmDocumentVariables::DefineVariables(cmake* cm)
  4. {
  5. // Subsection: variables defined by cmake, that give
  6. // information about the project, and cmake
  7. cm->DefineProperty
  8. ("CMAKE_AR", cmProperty::VARIABLE,
  9. "Name of archiving tool for static libraries.",
  10. "This specifies name of the program that creates archive "
  11. "or static libraries.",false,
  12. "Variables that Provide Information");
  13. cm->DefineProperty
  14. ("CMAKE_COMMAND", cmProperty::VARIABLE,
  15. "The full path to the cmake executable.",
  16. "This is the full path to the CMake executable cmake which is "
  17. "useful from custom commands that want to use the cmake -E "
  18. "option for portable system commands. "
  19. "(e.g. /usr/local/bin/cmake", false,
  20. "Variables that Provide Information");
  21. cm->DefineProperty
  22. ("CMAKE_BINARY_DIR", cmProperty::VARIABLE,
  23. "The path to the top level of the build tree.",
  24. "This is the full path to the top level of the current CMake "
  25. "build tree. For an in-source build, this would be the same "
  26. "as CMAKE_SOURCE_DIR. ", false,
  27. "Variables that Provide Information");
  28. cm->DefineProperty
  29. ("CMAKE_SOURCE_DIR", cmProperty::VARIABLE,
  30. "The path to the top level of the source tree.",
  31. "This is the full path to the top level of the current CMake "
  32. "source tree. For an in-source build, this would be the same "
  33. "as CMAKE_BINARY_DIR. ", false,
  34. "Variables that Provide Information");
  35. cm->DefineProperty
  36. ("CMAKE_CURRENT_BINARY_DIR", cmProperty::VARIABLE,
  37. "The path to the binary directory currently being processed.",
  38. "This the full path to the build directory that is currently "
  39. "being processed by cmake. Each directory added by "
  40. "add_subdirectory will create a binary directory in the build "
  41. "tree, and as it is being processed this variable will be set. "
  42. "For in-source builds this is the current source directory "
  43. "being processed.", false,
  44. "Variables that Provide Information");
  45. cm->DefineProperty
  46. ("CMAKE_CURRENT_SOURCE_DIR", cmProperty::VARIABLE,
  47. "The path to the source directory currently being processed.",
  48. "This the full path to the source directory that is currently "
  49. "being processed by cmake. ", false,
  50. "Variables that Provide Information");
  51. cm->DefineProperty
  52. ("CMAKE_CURRENT_LIST_FILE", cmProperty::VARIABLE,
  53. "Full path to the listfile currently being processed.",
  54. "As CMake processes the listfiles in your project this "
  55. "variable will always be set to the one currently being "
  56. "processed. "
  57. "The value has dynamic scope. "
  58. "When CMake starts processing commands in a source file "
  59. "it sets this variable to the location of the file. "
  60. "When CMake finishes processing commands from the file it "
  61. "restores the previous value. "
  62. "Therefore the value of the variable inside a macro or "
  63. "function is the file invoking the bottom-most entry on "
  64. "the call stack, not the file containing the macro or "
  65. "function definition."
  66. "\n"
  67. "See also CMAKE_PARENT_LIST_FILE.",false,
  68. "Variables that Provide Information");
  69. cm->DefineProperty
  70. ("CMAKE_CURRENT_LIST_LINE", cmProperty::VARIABLE,
  71. "The line number of the current file being processed.",
  72. "This is the line number of the file currently being"
  73. " processed by cmake.", false,
  74. "Variables that Provide Information");
  75. cm->DefineProperty
  76. ("CMAKE_CURRENT_LIST_DIR", cmProperty::VARIABLE,
  77. "Full directory of the listfile currently being processed.",
  78. "As CMake processes the listfiles in your project this "
  79. "variable will always be set to the directory where the listfile which "
  80. "is currently being processed (CMAKE_CURRENT_LIST_FILE) is located. "
  81. "The value has dynamic scope. "
  82. "When CMake starts processing commands in a source file "
  83. "it sets this variable to the directory where this file is located. "
  84. "When CMake finishes processing commands from the file it "
  85. "restores the previous value. "
  86. "Therefore the value of the variable inside a macro or "
  87. "function is the directory of the file invoking the bottom-most entry on "
  88. "the call stack, not the directory of the file containing the macro or "
  89. "function definition."
  90. "\n"
  91. "See also CMAKE_CURRENT_LIST_FILE.",false,
  92. "Variables that Provide Information");
  93. cm->DefineProperty
  94. ("CMAKE_BUILD_TOOL", cmProperty::VARIABLE,
  95. "Tool used for the actual build process.",
  96. "This variable is set to the program that will be"
  97. " needed to build the output of CMake. If the "
  98. "generator selected was Visual Studio 6, the "
  99. "CMAKE_MAKE_PROGRAM will be set to msdev, for "
  100. "Unix makefiles it will be set to make or gmake, "
  101. "and for Visual Studio 7 it set to devenv. For "
  102. "Nmake Makefiles the value is nmake. This can be "
  103. "useful for adding special flags and commands based"
  104. " on the final build environment. ", false,
  105. "Variables that Provide Information");
  106. cm->DefineProperty
  107. ("CMAKE_CROSSCOMPILING", cmProperty::VARIABLE,
  108. "Is CMake currently cross compiling.",
  109. "This variable will be set to true by CMake if CMake is cross "
  110. "compiling. Specifically if the build platform is different "
  111. "from the target platform.", false,
  112. "Variables that Provide Information");
  113. cm->DefineProperty
  114. ("CMAKE_CACHEFILE_DIR", cmProperty::VARIABLE,
  115. "The directory with the CMakeCache.txt file.",
  116. "This is the full path to the directory that has the "
  117. "CMakeCache.txt file in it. This is the same as "
  118. "CMAKE_BINARY_DIR.", false,
  119. "Variables that Provide Information");
  120. cm->DefineProperty
  121. ("CMAKE_CACHE_MAJOR_VERSION", cmProperty::VARIABLE,
  122. "Major version of CMake used to create the CMakeCache.txt file",
  123. "This is stores the major version of CMake used to "
  124. "write a CMake cache file. It is only different when "
  125. "a different version of CMake is run on a previously "
  126. "created cache file.", false,
  127. "Variables that Provide Information");
  128. cm->DefineProperty
  129. ("CMAKE_CACHE_MINOR_VERSION", cmProperty::VARIABLE,
  130. "Minor version of CMake used to create the CMakeCache.txt file",
  131. "This is stores the minor version of CMake used to "
  132. "write a CMake cache file. It is only different when "
  133. "a different version of CMake is run on a previously "
  134. "created cache file.", false,
  135. "Variables that Provide Information");
  136. cm->DefineProperty
  137. ("CMAKE_CACHE_PATCH_VERSION", cmProperty::VARIABLE,
  138. "Patch version of CMake used to create the CMakeCache.txt file",
  139. "This is stores the patch version of CMake used to "
  140. "write a CMake cache file. It is only different when "
  141. "a different version of CMake is run on a previously "
  142. "created cache file.", false,
  143. "Variables that Provide Information");
  144. cm->DefineProperty
  145. ("CMAKE_CFG_INTDIR", cmProperty::VARIABLE,
  146. "Build-time reference to per-configuration output subdirectory.",
  147. "For native build systems supporting multiple configurations "
  148. "in the build tree (such as Visual Studio and Xcode), "
  149. "the value is a reference to a build-time variable specifying "
  150. "the name of the per-configuration output subdirectory. "
  151. "On Makefile generators this evaluates to \".\" because there "
  152. "is only one configuration in a build tree. "
  153. "Example values:\n"
  154. " $(IntDir) = Visual Studio 6\n"
  155. " $(OutDir) = Visual Studio 7, 8, 9\n"
  156. " $(Configuration) = Visual Studio 10\n"
  157. " $(CONFIGURATION) = Xcode\n"
  158. " . = Make-based tools\n"
  159. "Since these values are evaluated by the native build system, this "
  160. "variable is suitable only for use in command lines that will be "
  161. "evaluated at build time. "
  162. "Example of intended usage:\n"
  163. " add_executable(mytool mytool.c)\n"
  164. " add_custom_command(\n"
  165. " OUTPUT out.txt\n"
  166. " COMMAND ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/mytool\n"
  167. " ${CMAKE_CURRENT_SOURCE_DIR}/in.txt out.txt\n"
  168. " DEPENDS mytool in.txt\n"
  169. " )\n"
  170. " add_custom_target(drive ALL DEPENDS out.txt)\n"
  171. "Note that CMAKE_CFG_INTDIR is no longer necessary for this purpose "
  172. "but has been left for compatibility with existing projects. "
  173. "Instead add_custom_command() recognizes executable target names in "
  174. "its COMMAND option, so "
  175. "\"${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/mytool\" can be "
  176. "replaced by just \"mytool\"."
  177. "\n"
  178. "This variable is read-only. Setting it is undefined behavior. "
  179. "In multi-configuration build systems the value of this variable "
  180. "is passed as the value of preprocessor symbol \"CMAKE_INTDIR\" to "
  181. "the compilation of all source files.",false,
  182. "Variables that Provide Information");
  183. cm->DefineProperty
  184. ("CMAKE_CTEST_COMMAND", cmProperty::VARIABLE,
  185. "Full path to ctest command installed with cmake.",
  186. "This is the full path to the CTest executable ctest "
  187. "which is useful from custom commands that want "
  188. " to use the cmake -E option for portable system "
  189. "commands.",false,
  190. "Variables that Provide Information");
  191. cm->DefineProperty
  192. ("CMAKE_DL_LIBS", cmProperty::VARIABLE,
  193. "Name of library containing dlopen and dlcose.",
  194. "The name of the library that has dlopen and "
  195. "dlclose in it, usually -ldl on most UNIX machines.",false,
  196. "Variables that Provide Information");
  197. cm->DefineProperty
  198. ("CMAKE_EDIT_COMMAND", cmProperty::VARIABLE,
  199. "Full path to cmake-gui or ccmake.",
  200. "This is the full path to the CMake executable "
  201. "that can graphically edit the cache. For example,"
  202. " cmake-gui, ccmake, or cmake -i.",false,
  203. "Variables that Provide Information");
  204. cm->DefineProperty
  205. ("CMAKE_GENERATOR", cmProperty::VARIABLE,
  206. "The generator used to build the project.",
  207. "The name of the generator that is being used to generate the "
  208. "build files. (e.g. \"Unix Makefiles\", "
  209. "\"Visual Studio 6\", etc.)",false,
  210. "Variables that Provide Information");
  211. cm->DefineProperty
  212. ("CMAKE_EXTRA_GENERATOR", cmProperty::VARIABLE,
  213. "The extra generator used to build the project.",
  214. "When using the Eclipse, CodeBlocks or KDevelop generators, CMake "
  215. "generates Makefiles (CMAKE_GENERATOR) and additionally project files "
  216. "for the respective IDE. This IDE project file generator is stored in "
  217. "CMAKE_EXTRA_GENERATOR (e.g. \"Eclipse CDT4\").",false,
  218. "Variables that Provide Information");
  219. cm->DefineProperty
  220. ("CMAKE_HOME_DIRECTORY", cmProperty::VARIABLE,
  221. "Path to top of source tree.",
  222. "This is the path to the top level of the source tree.",false,
  223. "Variables that Provide Information");
  224. cm->DefineProperty
  225. ("CMAKE_LINK_LIBRARY_SUFFIX", cmProperty::VARIABLE,
  226. "The suffix for libraries that you link to.",
  227. "The suffix to use for the end of a library, .lib on Windows.",false,
  228. "Variables that Provide Information");
  229. cm->DefineProperty
  230. ("CMAKE_EXECUTABLE_SUFFIX", cmProperty::VARIABLE,
  231. "The suffix for executables on this platform.",
  232. "The suffix to use for the end of an executable if any, "
  233. ".exe on Windows."
  234. "\n"
  235. "CMAKE_EXECUTABLE_SUFFIX_<LANG> overrides this for language <LANG>."
  236. ,false, "Variables that Provide Information");
  237. cm->DefineProperty
  238. ("CMAKE_MAJOR_VERSION", cmProperty::VARIABLE,
  239. "The Major version of cmake (i.e. the 2 in 2.X.X)",
  240. "This specifies the major version of the CMake executable"
  241. " being run.",false,
  242. "Variables that Provide Information");
  243. cm->DefineProperty
  244. ("CMAKE_MAKE_PROGRAM", cmProperty::VARIABLE,
  245. "See CMAKE_BUILD_TOOL.",
  246. "This variable is around for backwards compatibility, "
  247. "see CMAKE_BUILD_TOOL.",false,
  248. "Variables that Provide Information");
  249. cm->DefineProperty
  250. ("CMAKE_MINOR_VERSION", cmProperty::VARIABLE,
  251. "The Minor version of cmake (i.e. the 4 in X.4.X).",
  252. "This specifies the minor version of the CMake"
  253. " executable being run.",false,
  254. "Variables that Provide Information");
  255. cm->DefineProperty
  256. ("CMAKE_PATCH_VERSION", cmProperty::VARIABLE,
  257. "The patch version of cmake (i.e. the 3 in X.X.3).",
  258. "This specifies the patch version of the CMake"
  259. " executable being run.",false,
  260. "Variables that Provide Information");
  261. cm->DefineProperty
  262. ("CMAKE_TWEAK_VERSION", cmProperty::VARIABLE,
  263. "The tweak version of cmake (i.e. the 1 in X.X.X.1).",
  264. "This specifies the tweak version of the CMake executable being run. "
  265. "Releases use tweak < 20000000 and development versions use the date "
  266. "format CCYYMMDD for the tweak level."
  267. ,false, "Variables that Provide Information");
  268. cm->DefineProperty
  269. ("CMAKE_VERSION", cmProperty::VARIABLE,
  270. "The full version of cmake in major.minor.patch[.tweak[-id]] format.",
  271. "This specifies the full version of the CMake executable being run. "
  272. "This variable is defined by versions 2.6.3 and higher. "
  273. "See variables CMAKE_MAJOR_VERSION, CMAKE_MINOR_VERSION, "
  274. "CMAKE_PATCH_VERSION, and CMAKE_TWEAK_VERSION "
  275. "for individual version components. "
  276. "The [-id] component appears in non-release versions "
  277. "and may be arbitrary text.", false,
  278. "Variables that Provide Information");
  279. cm->DefineProperty
  280. ("CMAKE_PARENT_LIST_FILE", cmProperty::VARIABLE,
  281. "Full path to the parent listfile of the one currently being processed.",
  282. "As CMake processes the listfiles in your project this "
  283. "variable will always be set to the listfile that included "
  284. "or somehow invoked the one currently being "
  285. "processed. See also CMAKE_CURRENT_LIST_FILE.",false,
  286. "Variables that Provide Information");
  287. cm->DefineProperty
  288. ("CMAKE_PROJECT_NAME", cmProperty::VARIABLE,
  289. "The name of the current project.",
  290. "This specifies name of the current project from"
  291. " the closest inherited PROJECT command.",false,
  292. "Variables that Provide Information");
  293. cm->DefineProperty
  294. ("CMAKE_RANLIB", cmProperty::VARIABLE,
  295. "Name of randomizing tool for static libraries.",
  296. "This specifies name of the program that randomizes "
  297. "libraries on UNIX, not used on Windows, but may be present.",false,
  298. "Variables that Provide Information");
  299. cm->DefineProperty
  300. ("CMAKE_ROOT", cmProperty::VARIABLE,
  301. "Install directory for running cmake.",
  302. "This is the install root for the running CMake and"
  303. " the Modules directory can be found here. This is"
  304. " commonly used in this format: ${CMAKE_ROOT}/Modules",false,
  305. "Variables that Provide Information");
  306. cm->DefineProperty
  307. ("CMAKE_SIZEOF_VOID_P", cmProperty::VARIABLE,
  308. "Size of a void pointer.",
  309. "This is set to the size of a pointer on the machine, "
  310. "and is determined by a try compile. If a 64 bit size "
  311. "is found, then the library search path is modified to "
  312. "look for 64 bit libraries first.",false,
  313. "Variables that Provide Information");
  314. cm->DefineProperty
  315. ("CMAKE_SKIP_RPATH", cmProperty::VARIABLE,
  316. "If true, do not add run time path information.",
  317. "If this is set to TRUE, then the rpath information "
  318. "is not added to compiled executables. The default "
  319. "is to add rpath information if the platform supports it."
  320. "This allows for easy running from the build tree.",false,
  321. "Variables that Provide Information");
  322. cm->DefineProperty
  323. ("CMAKE_SOURCE_DIR", cmProperty::VARIABLE,
  324. "Source directory for project.",
  325. "This is the top level source directory for the project. "
  326. "It corresponds to the source directory given to "
  327. "cmake-gui or ccmake.",false,
  328. "Variables that Provide Information");
  329. cm->DefineProperty
  330. ("CMAKE_STANDARD_LIBRARIES", cmProperty::VARIABLE,
  331. "Libraries linked into every executable and shared library.",
  332. "This is the list of libraries that are linked "
  333. "into all executables and libraries.",false,
  334. "Variables that Provide Information");
  335. cm->DefineProperty
  336. ("CMAKE_USING_VC_FREE_TOOLS", cmProperty::VARIABLE,
  337. "True if free visual studio tools being used.",
  338. "This is set to true if the compiler is Visual "
  339. "Studio free tools.",false,
  340. "Variables that Provide Information");
  341. cm->DefineProperty
  342. ("CMAKE_VERBOSE_MAKEFILE", cmProperty::VARIABLE,
  343. "Create verbose makefiles if on.",
  344. "This variable defaults to false. You can set "
  345. "this variable to true to make CMake produce verbose "
  346. "makefiles that show each command line as it is used.",false,
  347. "Variables that Provide Information");
  348. cm->DefineProperty
  349. ("PROJECT_BINARY_DIR", cmProperty::VARIABLE,
  350. "Full path to build directory for project.",
  351. "This is the binary directory of the most recent "
  352. "PROJECT command.",false,"Variables that Provide Information");
  353. cm->DefineProperty
  354. ("PROJECT_NAME", cmProperty::VARIABLE,
  355. "Name of the project given to the project command.",
  356. "This is the name given to the most "
  357. "recent PROJECT command. ",false,
  358. "Variables that Provide Information");
  359. cm->DefineProperty
  360. ("PROJECT_SOURCE_DIR", cmProperty::VARIABLE,
  361. "Top level source directory for the current project.",
  362. "This is the source directory of the most recent "
  363. "PROJECT command.",false,
  364. "Variables that Provide Information");
  365. cm->DefineProperty
  366. ("[Project name]_BINARY_DIR", cmProperty::VARIABLE,
  367. "Top level binary directory for the named project.",
  368. "A variable is created with the name used in the PROJECT "
  369. "command, and is the binary directory for the project. "
  370. " This can be useful when SUBDIR is used to connect "
  371. "several projects.",false,
  372. "Variables that Provide Information");
  373. cm->DefineProperty
  374. ("[Project name]_SOURCE_DIR", cmProperty::VARIABLE,
  375. "Top level source directory for the named project.",
  376. "A variable is created with the name used in the PROJECT "
  377. "command, and is the source directory for the project."
  378. " This can be useful when add_subdirectory "
  379. "is used to connect several projects.",false,
  380. "Variables that Provide Information");
  381. cm->DefineProperty
  382. ("CMAKE_IMPORT_LIBRARY_PREFIX", cmProperty::VARIABLE,
  383. "The prefix for import libraries that you link to.",
  384. "The prefix to use for the name of an import library if used "
  385. "on this platform."
  386. "\n"
  387. "CMAKE_IMPORT_LIBRARY_PREFIX_<LANG> overrides this for language <LANG>."
  388. ,false, "Variables that Provide Information");
  389. cm->DefineProperty
  390. ("CMAKE_IMPORT_LIBRARY_SUFFIX", cmProperty::VARIABLE,
  391. "The suffix for import libraries that you link to.",
  392. "The suffix to use for the end of an import library if used "
  393. "on this platform."
  394. "\n"
  395. "CMAKE_IMPORT_LIBRARY_SUFFIX_<LANG> overrides this for language <LANG>."
  396. ,false, "Variables that Provide Information");
  397. cm->DefineProperty
  398. ("CMAKE_SHARED_LIBRARY_PREFIX", cmProperty::VARIABLE,
  399. "The prefix for shared libraries that you link to.",
  400. "The prefix to use for the name of a shared library, lib on UNIX."
  401. "\n"
  402. "CMAKE_SHARED_LIBRARY_PREFIX_<LANG> overrides this for language <LANG>."
  403. ,false, "Variables that Provide Information");
  404. cm->DefineProperty
  405. ("CMAKE_SHARED_LIBRARY_SUFFIX", cmProperty::VARIABLE,
  406. "The suffix for shared libraries that you link to.",
  407. "The suffix to use for the end of a shared library, .dll on Windows."
  408. "\n"
  409. "CMAKE_SHARED_LIBRARY_SUFFIX_<LANG> overrides this for language <LANG>."
  410. ,false, "Variables that Provide Information");
  411. cm->DefineProperty
  412. ("CMAKE_SHARED_MODULE_PREFIX", cmProperty::VARIABLE,
  413. "The prefix for loadable modules that you link to.",
  414. "The prefix to use for the name of a loadable module on this platform."
  415. "\n"
  416. "CMAKE_SHARED_MODULE_PREFIX_<LANG> overrides this for language <LANG>."
  417. ,false, "Variables that Provide Information");
  418. cm->DefineProperty
  419. ("CMAKE_SHARED_MODULE_SUFFIX", cmProperty::VARIABLE,
  420. "The suffix for shared libraries that you link to.",
  421. "The suffix to use for the end of a loadable module on this platform"
  422. "\n"
  423. "CMAKE_SHARED_MODULE_SUFFIX_<LANG> overrides this for language <LANG>."
  424. ,false, "Variables that Provide Information");
  425. cm->DefineProperty
  426. ("CMAKE_STATIC_LIBRARY_PREFIX", cmProperty::VARIABLE,
  427. "The prefix for static libraries that you link to.",
  428. "The prefix to use for the name of a static library, lib on UNIX."
  429. "\n"
  430. "CMAKE_STATIC_LIBRARY_PREFIX_<LANG> overrides this for language <LANG>."
  431. ,false, "Variables that Provide Information");
  432. cm->DefineProperty
  433. ("CMAKE_STATIC_LIBRARY_SUFFIX", cmProperty::VARIABLE,
  434. "The suffix for static libraries that you link to.",
  435. "The suffix to use for the end of a static library, .lib on Windows."
  436. "\n"
  437. "CMAKE_STATIC_LIBRARY_SUFFIX_<LANG> overrides this for language <LANG>."
  438. ,false, "Variables that Provide Information");
  439. cm->DefineProperty
  440. ("CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES", cmProperty::VARIABLE,
  441. "Additional suffixes for shared libraries.",
  442. "Extensions for shared libraries other than that specified by "
  443. "CMAKE_SHARED_LIBRARY_SUFFIX, if any. "
  444. "CMake uses this to recognize external shared library files during "
  445. "analysis of libraries linked by a target.",
  446. false,
  447. "Variables that Provide Information");
  448. // Variables defined by cmake, that change the behavior
  449. // of cmake
  450. cm->DefineProperty
  451. ("CMAKE_POLICY_DEFAULT_CMP<NNNN>", cmProperty::VARIABLE,
  452. "Default for CMake Policy CMP<NNNN> when it is otherwise left unset.",
  453. "Commands cmake_minimum_required(VERSION) and cmake_policy(VERSION) "
  454. "by default leave policies introduced after the given version unset. "
  455. "Set CMAKE_POLICY_DEFAULT_CMP<NNNN> to OLD or NEW to specify the "
  456. "default for policy CMP<NNNN>, where <NNNN> is the policy number."
  457. "\n"
  458. "This variable should not be set by a project in CMake code; "
  459. "use cmake_policy(SET) instead. "
  460. "Users running CMake may set this variable in the cache "
  461. "(e.g. -DCMAKE_POLICY_DEFAULT_CMP<NNNN>=<OLD|NEW>) "
  462. "to set a policy not otherwise set by the project. "
  463. "Set to OLD to quiet a policy warning while using old behavior "
  464. "or to NEW to try building the project with new behavior.",
  465. false,
  466. "Variables That Change Behavior");
  467. cm->DefineProperty
  468. ("CMAKE_FIND_LIBRARY_PREFIXES", cmProperty::VARIABLE,
  469. "Prefixes to prepend when looking for libraries.",
  470. "This specifies what prefixes to add to library names when "
  471. "the find_library command looks for libraries. On UNIX "
  472. "systems this is typically lib, meaning that when trying "
  473. "to find the foo library it will look for libfoo.",
  474. false,
  475. "Variables That Change Behavior");
  476. cm->DefineProperty
  477. ("CMAKE_FIND_LIBRARY_SUFFIXES", cmProperty::VARIABLE,
  478. "Suffixes to append when looking for libraries.",
  479. "This specifies what suffixes to add to library names when "
  480. "the find_library command looks for libraries. On Windows "
  481. "systems this is typically .lib and .dll, meaning that when trying "
  482. "to find the foo library it will look for foo.dll etc.",
  483. false,
  484. "Variables That Change Behavior");
  485. cm->DefineProperty
  486. ("CMAKE_CONFIGURATION_TYPES", cmProperty::VARIABLE,
  487. "Specifies the available build types.",
  488. "This specifies what build types will be available such as "
  489. "Debug, Release, RelWithDebInfo etc. This has reasonable defaults "
  490. "on most platforms. But can be extended to provide other "
  491. "build types. See also CMAKE_BUILD_TYPE.",
  492. false,
  493. "Variables That Change Behavior");
  494. cm->DefineProperty
  495. ("CMAKE_BUILD_TYPE", cmProperty::VARIABLE,
  496. "Specifies the build type for make based generators.",
  497. "This specifies what build type will be built in this tree. "
  498. " Possible values are empty, Debug, Release, RelWithDebInfo"
  499. " and MinSizeRel. This variable is only supported for "
  500. "make based generators. If this variable is supported, "
  501. "then CMake will also provide initial values for the "
  502. "variables with the name "
  503. " CMAKE_C_FLAGS_[Debug|Release|RelWithDebInfo|MinSizeRel]."
  504. " For example, if CMAKE_BUILD_TYPE is Debug, then "
  505. "CMAKE_C_FLAGS_DEBUG will be added to the CMAKE_C_FLAGS.",false,
  506. "Variables That Change Behavior");
  507. cm->DefineProperty
  508. ("CMAKE_BACKWARDS_COMPATIBILITY", cmProperty::VARIABLE,
  509. "Version of cmake required to build project",
  510. "From the point of view of backwards compatibility, this "
  511. "specifies what version of CMake should be supported. By "
  512. "default this value is the version number of CMake that "
  513. "you are running. You can set this to an older version of"
  514. " CMake to support deprecated commands of CMake in projects"
  515. " that were written to use older versions of CMake. This "
  516. "can be set by the user or set at the beginning of a "
  517. "CMakeLists file.",false,
  518. "Variables That Change Behavior");
  519. cm->DefineProperty
  520. ("CMAKE_INSTALL_PREFIX", cmProperty::VARIABLE,
  521. "Install directory used by install.",
  522. "If \"make install\" is invoked or INSTALL is built"
  523. ", this directory is pre-pended onto all install "
  524. "directories. This variable defaults to /usr/local"
  525. " on UNIX and c:/Program Files on Windows.",false,
  526. "Variables That Change Behavior");
  527. cm->DefineProperty
  528. ("CMAKE_SKIP_INSTALL_ALL_DEPENDENCY", cmProperty::VARIABLE,
  529. "Don't make the install target depend on the all target.",
  530. "By default, the \"install\" target depends on the \"all\" target. "
  531. "This has the effect, that when \"make install\" is invoked or INSTALL "
  532. "is built, first the \"all\" target is built, then the installation "
  533. "starts. "
  534. "If CMAKE_SKIP_INSTALL_ALL_DEPENDENCY is set to TRUE, this dependency "
  535. "is not created, so the installation process will start immediately, "
  536. "independent from whether the project has been completely built or not."
  537. ,false,
  538. "Variables That Change Behavior");
  539. cm->DefineProperty
  540. ("CMAKE_MODULE_PATH", cmProperty::VARIABLE,
  541. "List of directories to search for CMake modules.",
  542. "Commands like include() and find_package() search for files in "
  543. "directories listed by this variable before checking the default "
  544. "modules that come with CMake.",
  545. false,
  546. "Variables That Change Behavior");
  547. cm->DefineProperty
  548. ("CMAKE_PREFIX_PATH", cmProperty::VARIABLE,
  549. "Path used for searching by FIND_XXX(), with appropriate suffixes added.",
  550. "Specifies a path which will be used by the FIND_XXX() commands. It "
  551. "contains the \"base\" directories, the FIND_XXX() commands append "
  552. "appropriate subdirectories to the base directories. So FIND_PROGRAM() "
  553. "adds /bin to each of the directories in the path, FIND_LIBRARY() "
  554. "appends /lib to each of the directories, and FIND_PATH() and "
  555. "FIND_FILE() append /include . By default it is empty, it is intended "
  556. "to be set by the project. See also CMAKE_SYSTEM_PREFIX_PATH, "
  557. "CMAKE_INCLUDE_PATH, CMAKE_LIBRARY_PATH, CMAKE_PROGRAM_PATH.", false,
  558. "Variables That Change Behavior");
  559. cm->DefineProperty
  560. ("CMAKE_INCLUDE_PATH", cmProperty::VARIABLE,
  561. "Path used for searching by FIND_FILE() and FIND_PATH().",
  562. "Specifies a path which will be used both by FIND_FILE() and "
  563. "FIND_PATH(). Both commands will check each of the contained directories "
  564. "for the existence of the file which is currently searched. By default "
  565. "it is empty, it is intended to be set by the project. See also "
  566. "CMAKE_SYSTEM_INCLUDE_PATH, CMAKE_PREFIX_PATH.", false,
  567. "Variables That Change Behavior");
  568. cm->DefineProperty
  569. ("CMAKE_LIBRARY_PATH", cmProperty::VARIABLE,
  570. "Path used for searching by FIND_LIBRARY().",
  571. "Specifies a path which will be used by FIND_LIBRARY(). FIND_LIBRARY() "
  572. "will check each of the contained directories for the existence of the "
  573. "library which is currently searched. By default it is empty, it is "
  574. "intended to be set by the project. See also CMAKE_SYSTEM_LIBRARY_PATH, "
  575. "CMAKE_PREFIX_PATH.", false,
  576. "Variables That Change Behavior");
  577. cm->DefineProperty
  578. ("CMAKE_PROGRAM_PATH", cmProperty::VARIABLE,
  579. "Path used for searching by FIND_PROGRAM().",
  580. "Specifies a path which will be used by FIND_PROGRAM(). FIND_PROGRAM() "
  581. "will check each of the contained directories for the existence of the "
  582. "program which is currently searched. By default it is empty, it is "
  583. "intended to be set by the project. See also CMAKE_SYSTEM_PROGRAM_PATH, "
  584. " CMAKE_PREFIX_PATH.", false,
  585. "Variables That Change Behavior");
  586. cm->DefineProperty
  587. ("CMAKE_SYSTEM_PREFIX_PATH", cmProperty::VARIABLE,
  588. "Path used for searching by FIND_XXX(), with appropriate suffixes added.",
  589. "Specifies a path which will be used by the FIND_XXX() commands. It "
  590. "contains the \"base\" directories, the FIND_XXX() commands append "
  591. "appropriate subdirectories to the base directories. So FIND_PROGRAM() "
  592. "adds /bin to each of the directories in the path, FIND_LIBRARY() "
  593. "appends /lib to each of the directories, and FIND_PATH() and "
  594. "FIND_FILE() append /include . By default this contains the standard "
  595. "directories for the current system. It is NOT intended "
  596. "to be modified by the project, use CMAKE_PREFIX_PATH for this. See also "
  597. "CMAKE_SYSTEM_INCLUDE_PATH, CMAKE_SYSTEM_LIBRARY_PATH, "
  598. "CMAKE_SYSTEM_PROGRAM_PATH, and CMAKE_SYSTEM_IGNORE_PATH.", false,
  599. "Variables That Change Behavior");
  600. cm->DefineProperty
  601. ("CMAKE_SYSTEM_IGNORE_PATH", cmProperty::VARIABLE,
  602. "Path to be ignored by FIND_XXX() commands.",
  603. "Specifies directories to be ignored by searches in FIND_XXX() commands "
  604. "This is useful in cross-compiled environments where some system "
  605. "directories contain incompatible but possibly linkable libraries. For "
  606. "example, on cross-compiled cluster environments, this allows a user to "
  607. "ignore directories containing libraries meant for the front-end "
  608. "machine that modules like FindX11 (and others) would normally search. "
  609. "By default this contains a list of directories containing incompatible "
  610. "binaries for the host system. "
  611. "See also CMAKE_SYSTEM_PREFIX_PATH, CMAKE_SYSTEM_LIBRARY_PATH, "
  612. "CMAKE_SYSTEM_INCLUDE_PATH, and CMAKE_SYSTEM_PROGRAM_PATH.", false,
  613. "Variables That Change Behavior");
  614. cm->DefineProperty
  615. ("CMAKE_IGNORE_PATH", cmProperty::VARIABLE,
  616. "Path to be ignored by FIND_XXX() commands.",
  617. "Specifies directories to be ignored by searches in FIND_XXX() commands "
  618. "This is useful in cross-compiled environments where some system "
  619. "directories contain incompatible but possibly linkable libraries. For "
  620. "example, on cross-compiled cluster environments, this allows a user to "
  621. "ignore directories containing libraries meant for the front-end "
  622. "machine that modules like FindX11 (and others) would normally search. "
  623. "By default this is empty; it is intended to be set by the project. "
  624. "Note that CMAKE_IGNORE_PATH takes a list of directory names, NOT a "
  625. "list of prefixes. If you want to ignore paths under prefixes (bin, "
  626. "include, lib, etc.), you'll need to specify them explicitly. "
  627. "See also CMAKE_PREFIX_PATH, CMAKE_LIBRARY_PATH, CMAKE_INCLUDE_PATH, "
  628. "CMAKE_PROGRAM_PATH.", false,
  629. "Variables That Change Behavior");
  630. cm->DefineProperty
  631. ("CMAKE_SYSTEM_INCLUDE_PATH", cmProperty::VARIABLE,
  632. "Path used for searching by FIND_FILE() and FIND_PATH().",
  633. "Specifies a path which will be used both by FIND_FILE() and "
  634. "FIND_PATH(). Both commands will check each of the contained directories "
  635. "for the existence of the file which is currently searched. By default "
  636. "it contains the standard directories for the current system. It is "
  637. "NOT intended to be modified by the project, use CMAKE_INCLUDE_PATH "
  638. "for this. See also CMAKE_SYSTEM_PREFIX_PATH.", false,
  639. "Variables That Change Behavior");
  640. cm->DefineProperty
  641. ("CMAKE_SYSTEM_LIBRARY_PATH", cmProperty::VARIABLE,
  642. "Path used for searching by FIND_LIBRARY().",
  643. "Specifies a path which will be used by FIND_LIBRARY(). FIND_LIBRARY() "
  644. "will check each of the contained directories for the existence of the "
  645. "library which is currently searched. By default it contains the "
  646. "standard directories for the current system. It is NOT intended to be "
  647. "modified by the project, use CMAKE_LIBRARY_PATH for this. See "
  648. "also CMAKE_SYSTEM_PREFIX_PATH.", false,
  649. "Variables That Change Behavior");
  650. cm->DefineProperty
  651. ("CMAKE_SYSTEM_PROGRAM_PATH", cmProperty::VARIABLE,
  652. "Path used for searching by FIND_PROGRAM().",
  653. "Specifies a path which will be used by FIND_PROGRAM(). FIND_PROGRAM() "
  654. "will check each of the contained directories for the existence of the "
  655. "program which is currently searched. By default it contains the "
  656. "standard directories for the current system. It is NOT intended to be "
  657. "modified by the project, use CMAKE_PROGRAM_PATH for this. See also "
  658. "CMAKE_SYSTEM_PREFIX_PATH.", false,
  659. "Variables That Change Behavior");
  660. cm->DefineProperty
  661. ("CMAKE_USER_MAKE_RULES_OVERRIDE", cmProperty::VARIABLE,
  662. "Specify a CMake file that overrides platform information.",
  663. "CMake loads the specified file while enabling support for each "
  664. "language from either the project() or enable_language() commands. "
  665. "It is loaded after CMake's builtin compiler and platform information "
  666. "modules have been loaded but before the information is used. "
  667. "The file may set platform information variables to override CMake's "
  668. "defaults."
  669. "\n"
  670. "This feature is intended for use only in overriding information "
  671. "variables that must be set before CMake builds its first test "
  672. "project to check that the compiler for a language works. "
  673. "It should not be used to load a file in cases that a normal include() "
  674. "will work. "
  675. "Use it only as a last resort for behavior that cannot be achieved "
  676. "any other way. "
  677. "For example, one may set CMAKE_C_FLAGS_INIT to change the default "
  678. "value used to initialize CMAKE_C_FLAGS before it is cached. "
  679. "The override file should NOT be used to set anything that could "
  680. "be set after languages are enabled, such as variables like "
  681. "CMAKE_RUNTIME_OUTPUT_DIRECTORY that affect the placement of binaries. "
  682. "Information set in the file will be used for try_compile and try_run "
  683. "builds too."
  684. ,false,
  685. "Variables That Change Behavior");
  686. cm->DefineProperty
  687. ("BUILD_SHARED_LIBS", cmProperty::VARIABLE,
  688. "Global flag to cause add_library to create shared libraries if on.",
  689. "If present and true, this will cause all libraries to be "
  690. "built shared unless the library was explicitly added as a "
  691. "static library. This variable is often added to projects "
  692. "as an OPTION so that each user of a project can decide if "
  693. "they want to build the project using shared or static "
  694. "libraries.",false,
  695. "Variables That Change Behavior");
  696. cm->DefineProperty
  697. ("CMAKE_NOT_USING_CONFIG_FLAGS", cmProperty::VARIABLE,
  698. "Skip _BUILD_TYPE flags if true.",
  699. "This is an internal flag used by the generators in "
  700. "CMake to tell CMake to skip the _BUILD_TYPE flags.",false,
  701. "Variables That Change Behavior");
  702. cm->DefineProperty
  703. ("CMAKE_MFC_FLAG", cmProperty::VARIABLE,
  704. "Tell cmake to use MFC for an executable or dll.",
  705. "This can be set in a CMakeLists.txt file and will "
  706. "enable MFC in the application. It should be set "
  707. "to 1 for static the static MFC library, and 2 for "
  708. "the shared MFC library. This is used in visual "
  709. "studio 6 and 7 project files. The CMakeSetup "
  710. "dialog used MFC and the CMakeLists.txt looks like this:\n"
  711. "add_definitions(-D_AFXDLL)\n"
  712. "set(CMAKE_MFC_FLAG 2)\n"
  713. "add_executable(CMakeSetup WIN32 ${SRCS})\n",false,
  714. "Variables That Change Behavior");
  715. cm->DefineProperty
  716. ("CMAKE_COLOR_MAKEFILE", cmProperty::VARIABLE,
  717. "Enables color output when using the Makefile generator.",
  718. "When enabled, the generated Makefiles will produce colored output. "
  719. "Default is ON.",false,
  720. "Variables That Change Behavior");
  721. // Variables defined by CMake that describe the system
  722. cm->DefineProperty
  723. ("CMAKE_SYSTEM", cmProperty::VARIABLE,
  724. "Name of system cmake is compiling for.",
  725. "This variable is the composite of CMAKE_SYSTEM_NAME "
  726. "and CMAKE_SYSTEM_VERSION, like this "
  727. "${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_VERSION}. "
  728. "If CMAKE_SYSTEM_VERSION is not set, then "
  729. "CMAKE_SYSTEM is the same as CMAKE_SYSTEM_NAME.",false,
  730. "Variables That Describe the System");
  731. cm->DefineProperty
  732. ("CMAKE_SYSTEM_NAME", cmProperty::VARIABLE,
  733. "Name of the OS CMake is building for.",
  734. "This is the name of the operating system on "
  735. "which CMake is targeting. On systems that "
  736. "have the uname command, this variable is set "
  737. "to the output of uname -s. Linux, Windows, "
  738. " and Darwin for Mac OSX are the values found "
  739. " on the big three operating systems." ,false,
  740. "Variables That Describe the System");
  741. cm->DefineProperty
  742. ("CMAKE_SYSTEM_PROCESSOR", cmProperty::VARIABLE,
  743. "The name of the CPU CMake is building for.",
  744. "On systems that support uname, this variable is "
  745. "set to the output of uname -p, on windows it is "
  746. "set to the value of the environment variable "
  747. "PROCESSOR_ARCHITECTURE",false,
  748. "Variables That Describe the System");
  749. cm->DefineProperty
  750. ("CMAKE_SYSTEM_VERSION", cmProperty::VARIABLE,
  751. "OS version CMake is building for.",
  752. "A numeric version string for the system, on "
  753. "systems that support uname, this variable is "
  754. "set to the output of uname -r. On other "
  755. "systems this is set to major-minor version numbers.",false,
  756. "Variables That Describe the System");
  757. cm->DefineProperty
  758. ("CMAKE_HOST_SYSTEM", cmProperty::VARIABLE,
  759. "Name of system cmake is being run on.",
  760. "The same as CMAKE_SYSTEM but for the host system instead "
  761. "of the target system when cross compiling.",false,
  762. "Variables That Describe the System");
  763. cm->DefineProperty
  764. ("CMAKE_HOST_SYSTEM_NAME", cmProperty::VARIABLE,
  765. "Name of the OS CMake is running on.",
  766. "The same as CMAKE_SYSTEM_NAME but for the host system instead "
  767. "of the target system when cross compiling.",false,
  768. "Variables That Describe the System");
  769. cm->DefineProperty
  770. ("CMAKE_HOST_SYSTEM_PROCESSOR", cmProperty::VARIABLE,
  771. "The name of the CPU CMake is running on.",
  772. "The same as CMAKE_SYSTEM_PROCESSOR but for the host system instead "
  773. "of the target system when cross compiling.",false,
  774. "Variables That Describe the System");
  775. cm->DefineProperty
  776. ("CMAKE_HOST_SYSTEM_VERSION", cmProperty::VARIABLE,
  777. "OS version CMake is running on.",
  778. "The same as CMAKE_SYSTEM_VERSION but for the host system instead "
  779. "of the target system when cross compiling.",false,
  780. "Variables That Describe the System");
  781. cm->DefineProperty
  782. ("APPLE", cmProperty::VARIABLE,
  783. "True if running on Mac OSX.",
  784. "Set to true on Mac OSX.",false,
  785. "Variables That Describe the System");
  786. cm->DefineProperty
  787. ("BORLAND", cmProperty::VARIABLE,
  788. "True of the borland compiler is being used.",
  789. "This is set to true if the Borland compiler is being used.",false,
  790. "Variables That Describe the System");
  791. cm->DefineProperty
  792. ("CYGWIN", cmProperty::VARIABLE,
  793. "True for cygwin.",
  794. "Set to true when using CYGWIN.",false,
  795. "Variables That Describe the System");
  796. cm->DefineProperty
  797. ("MSVC", cmProperty::VARIABLE,
  798. "True when using Microsoft Visual C",
  799. "Set to true when the compiler is some version of Microsoft Visual C.",
  800. false,
  801. "Variables That Describe the System");
  802. cm->DefineProperty
  803. ("MSVC80", cmProperty::VARIABLE,
  804. "True when using Microsoft Visual C 8.0",
  805. "Set to true when the compiler is version 8.0 of Microsoft Visual C.",
  806. false,
  807. "Variables That Describe the System");
  808. cm->DefineProperty
  809. ("MSVC_IDE", cmProperty::VARIABLE,
  810. "True when using the Microsoft Visual C IDE",
  811. "Set to true when the target platform is the Microsoft Visual C IDE, "
  812. "as opposed to the command line compiler.",
  813. false,
  814. "Variables That Describe the System");
  815. cm->DefineProperty
  816. ("MSVC_VERSION", cmProperty::VARIABLE,
  817. "The version of Microsoft Visual C/C++ being used if any.",
  818. "Known version numbers are:\n"
  819. " 1200 = VS 6.0\n"
  820. " 1300 = VS 7.0\n"
  821. " 1310 = VS 7.1\n"
  822. " 1400 = VS 8.0\n"
  823. " 1500 = VS 9.0\n"
  824. " 1600 = VS 10.0\n"
  825. "",
  826. false,
  827. "Variables That Describe the System");
  828. cm->DefineProperty
  829. ("CMAKE_CL_64", cmProperty::VARIABLE,
  830. "Using the 64 bit compiler from Microsoft",
  831. "Set to true when using the 64 bit cl compiler from Microsoft.",
  832. false,
  833. "Variables That Describe the System");
  834. cm->DefineProperty
  835. ("CMAKE_COMPILER_2005", cmProperty::VARIABLE,
  836. "Using the Visual Studio 2005 compiler from Microsoft",
  837. "Set to true when using the Visual Studio 2005 compiler "
  838. "from Microsoft.",
  839. false,
  840. "Variables That Describe the System");
  841. cm->DefineProperty
  842. ("UNIX", cmProperty::VARIABLE,
  843. "True for UNIX and UNIX like operating systems.",
  844. "Set to true when the target system is UNIX or UNIX like "
  845. "(i.e. APPLE and CYGWIN).",false,
  846. "Variables That Describe the System");
  847. cm->DefineProperty
  848. ("WIN32", cmProperty::VARIABLE,
  849. "True on windows systems, including win64.",
  850. "Set to true when the target system is Windows and on cygwin.",false,
  851. "Variables That Describe the System");
  852. cm->DefineProperty
  853. ("XCODE_VERSION", cmProperty::VARIABLE,
  854. "Version of Xcode (Xcode generator only).",
  855. "Under the Xcode generator, this is the version of Xcode as specified in "
  856. "\"Xcode.app/Contents/version.plist\" (such as \"3.1.2\").",false,
  857. "Variables That Describe the System");
  858. cm->DefineProperty
  859. ("CMAKE_HOST_APPLE", cmProperty::VARIABLE,
  860. "True for Apple OSXoperating systems.",
  861. "Set to true when the host system is Apple OSX.",
  862. false,
  863. "Variables That Describe the System");
  864. cm->DefineProperty
  865. ("CMAKE_HOST_UNIX", cmProperty::VARIABLE,
  866. "True for UNIX and UNIX like operating systems.",
  867. "Set to true when the host system is UNIX or UNIX like "
  868. "(i.e. APPLE and CYGWIN).",false,
  869. "Variables That Describe the System");
  870. cm->DefineProperty
  871. ("CMAKE_HOST_WIN32", cmProperty::VARIABLE,
  872. "True on windows systems, including win64.",
  873. "Set to true when the host system is Windows and on cygwin.",false,
  874. "Variables That Describe the System");
  875. cm->DefineProperty
  876. ("CMAKE_OBJECT_PATH_MAX", cmProperty::VARIABLE,
  877. "Maximum object file full-path length allowed by native build tools.",
  878. "CMake computes for every source file an object file name that is "
  879. "unique to the source file and deterministic with respect to the "
  880. "full path to the source file. "
  881. "This allows multiple source files in a target to share the same name "
  882. "if they lie in different directories without rebuilding when one is "
  883. "added or removed. "
  884. "However, it can produce long full paths in a few cases, so CMake "
  885. "shortens the path using a hashing scheme when the full path to an "
  886. "object file exceeds a limit. "
  887. "CMake has a built-in limit for each platform that is sufficient for "
  888. "common tools, but some native tools may have a lower limit. "
  889. "This variable may be set to specify the limit explicitly. "
  890. "The value must be an integer no less than 128.",false,
  891. "Variables That Describe the System");
  892. // Variables that affect the building of object files and
  893. // targets.
  894. //
  895. cm->DefineProperty
  896. ("CMAKE_INCLUDE_CURRENT_DIR", cmProperty::VARIABLE,
  897. "Automatically add the current source- and build directories "
  898. "to the include path.",
  899. "If this variable is enabled, CMake automatically adds in each "
  900. "directory ${CMAKE_CURRENT_SOURCE_DIR} and ${CMAKE_CURRENT_BINARY_DIR} "
  901. "to the include path for this directory. These additional include "
  902. "directories do not propagate down to subdirectories. This is useful "
  903. "mainly for out-of-source builds, where files generated into the "
  904. "build tree are included by files located in the source tree.\n"
  905. "By default CMAKE_INCLUDE_CURRENT_DIR is OFF.",
  906. false,
  907. "Variables that Control the Build");
  908. cm->DefineProperty
  909. ("CMAKE_INSTALL_RPATH", cmProperty::VARIABLE,
  910. "The rpath to use for installed targets.",
  911. "A semicolon-separated list specifying the rpath "
  912. "to use in installed targets (for platforms that support it). "
  913. "This is used to initialize the target property "
  914. "INSTALL_RPATH for all targets.",
  915. false,
  916. "Variables that Control the Build");
  917. cm->DefineProperty
  918. ("CMAKE_INSTALL_RPATH_USE_LINK_PATH", cmProperty::VARIABLE,
  919. "Add paths to linker search and installed rpath.",
  920. "CMAKE_INSTALL_RPATH_USE_LINK_PATH is a boolean that if set to true "
  921. "will append directories in the linker search path and outside the "
  922. "project to the INSTALL_RPATH. "
  923. "This is used to initialize the target property "
  924. "INSTALL_RPATH_USE_LINK_PATH for all targets.",
  925. false,
  926. "Variables that Control the Build");
  927. cm->DefineProperty
  928. ("CMAKE_INSTALL_NAME_DIR", cmProperty::VARIABLE,
  929. "Mac OSX directory name for installed targets.",
  930. "CMAKE_INSTALL_NAME_DIR is used to initialize the "
  931. "INSTALL_NAME_DIR property on all targets. See that target "
  932. "property for more information.",
  933. false,
  934. "Variables that Control the Build");
  935. cm->DefineProperty
  936. ("CMAKE_Fortran_MODULE_DIRECTORY", cmProperty::VARIABLE,
  937. "Fortran module output directory.",
  938. "This variable is used to initialize the "
  939. "Fortran_MODULE_DIRECTORY property on all the targets. "
  940. "See that target property for additional information.",
  941. false,
  942. "Variables that Control the Build");
  943. cm->DefineProperty
  944. ("CMAKE_LIBRARY_OUTPUT_DIRECTORY", cmProperty::VARIABLE,
  945. "Where to put all the LIBRARY targets when built.",
  946. "This variable is used to initialize the "
  947. "LIBRARY_OUTPUT_DIRECTORY property on all the targets. "
  948. "See that target property for additional information.",
  949. false,
  950. "Variables that Control the Build");
  951. cm->DefineProperty
  952. ("CMAKE_ARCHIVE_OUTPUT_DIRECTORY", cmProperty::VARIABLE,
  953. "Where to put all the ARCHIVE targets when built.",
  954. "This variable is used to initialize the "
  955. "ARCHIVE_OUTPUT_DIRECTORY property on all the targets. "
  956. "See that target property for additional information.",
  957. false,
  958. "Variables that Control the Build");
  959. cm->DefineProperty
  960. ("CMAKE_RUNTIME_OUTPUT_DIRECTORY", cmProperty::VARIABLE,
  961. "Where to put all the RUNTIME targets when built.",
  962. "This variable is used to initialize the "
  963. "RUNTIME_OUTPUT_DIRECTORY property on all the targets. "
  964. "See that target property for additional information.",
  965. false,
  966. "Variables that Control the Build");
  967. cm->DefineProperty
  968. ("CMAKE_DEBUG_POSTFIX", cmProperty::VARIABLE,
  969. "See variable CMAKE_<CONFIG>_POSTFIX.",
  970. "This variable is a special case of the more-general "
  971. "CMAKE_<CONFIG>_POSTFIX variable for the DEBUG configuration.",
  972. false,
  973. "Variables that Control the Build");
  974. cm->DefineProperty
  975. ("CMAKE_<CONFIG>_POSTFIX", cmProperty::VARIABLE,
  976. "Default filename postfix for libraries under configuration <CONFIG>.",
  977. "When a non-executable target is created its <CONFIG>_POSTFIX "
  978. "target property is initialized with the value of this variable "
  979. "if it is set.",
  980. false,
  981. "Variables that Control the Build");
  982. cm->DefineProperty
  983. ("CMAKE_BUILD_WITH_INSTALL_RPATH", cmProperty::VARIABLE,
  984. "Use the install path for the RPATH",
  985. "Normally CMake uses the build tree for the RPATH when building "
  986. "executables etc on systems that use RPATH. When the software "
  987. "is installed the executables etc are relinked by CMake to have "
  988. "the install RPATH. If this variable is set to true then the software "
  989. "is always built with the install path for the RPATH and does not "
  990. "need to be relinked when installed.",false,
  991. "Variables that Control the Build");
  992. cm->DefineProperty
  993. ("CMAKE_NO_BUILTIN_CHRPATH", cmProperty::VARIABLE,
  994. "Do not use the builtin ELF editor to fix RPATHs on installation.",
  995. "When an ELF binary needs to have a different RPATH after installation "
  996. "than it does in the build tree, CMake uses a builtin editor to change "
  997. "the RPATH in the installed copy. "
  998. "If this variable is set to true then CMake will relink the binary "
  999. "before installation instead of using its builtin editor.",false,
  1000. "Variables that Control the Build");
  1001. cm->DefineProperty
  1002. ("CMAKE_SKIP_BUILD_RPATH", cmProperty::VARIABLE,
  1003. "Do not include RPATHs in the build tree.",
  1004. "Normally CMake uses the build tree for the RPATH when building "
  1005. "executables etc on systems that use RPATH. When the software "
  1006. "is installed the executables etc are relinked by CMake to have "
  1007. "the install RPATH. If this variable is set to true then the software "
  1008. "is always built with no RPATH.",false,
  1009. "Variables that Control the Build");
  1010. cm->DefineProperty
  1011. ("CMAKE_EXE_LINKER_FLAGS", cmProperty::VARIABLE,
  1012. "Linker flags used to create executables.",
  1013. "Flags used by the linker when creating an executable.",false,
  1014. "Variables that Control the Build");
  1015. cm->DefineProperty
  1016. ("CMAKE_EXE_LINKER_FLAGS_[CMAKE_BUILD_TYPE]", cmProperty::VARIABLE,
  1017. "Flag used when linking an executable.",
  1018. "Same as CMAKE_C_FLAGS_* but used by the linker "
  1019. "when creating executables.",false,
  1020. "Variables that Control the Build");
  1021. cm->DefineProperty
  1022. ("CMAKE_LIBRARY_PATH_FLAG", cmProperty::VARIABLE,
  1023. "The flag used to add a library search path to a compiler.",
  1024. "The flag used to specify a library directory to the compiler. "
  1025. "On most compilers this is \"-L\".",false,
  1026. "Variables that Control the Build");
  1027. cm->DefineProperty
  1028. ("CMAKE_LINK_DEF_FILE_FLAG ", cmProperty::VARIABLE,
  1029. "Linker flag used to specify a .def file for dll creation.",
  1030. "The flag used to add a .def file when creating "
  1031. "a dll on Windows, this is only defined on Windows.",false,
  1032. "Variables that Control the Build");
  1033. cm->DefineProperty
  1034. ("CMAKE_LINK_LIBRARY_FLAG", cmProperty::VARIABLE,
  1035. "Flag used to link a library into an executable.",
  1036. "The flag used to specify a library to link to an executable. "
  1037. "On most compilers this is \"-l\".",false,
  1038. "Variables that Control the Build");
  1039. cm->DefineProperty
  1040. ("CMAKE_LINK_LIBRARY_FILE_FLAG", cmProperty::VARIABLE,
  1041. "Flag used to link a library specified by a path to its file.",
  1042. "The flag used before a library file path is given to the linker. "
  1043. "This is needed only on very few platforms.", false,
  1044. "Variables that Control the Build");
  1045. cm->DefineProperty
  1046. ("CMAKE_USE_RELATIVE_PATHS", cmProperty::VARIABLE,
  1047. "Use relative paths (May not work!).",
  1048. "If this is set to TRUE, then the CMake will use "
  1049. "relative paths between the source and binary tree. "
  1050. "This option does not work for more complicated "
  1051. "projects, and relative paths are used when possible. "
  1052. "In general, it is not possible to move CMake generated"
  1053. " makefiles to a different location regardless "
  1054. "of the value of this variable.",false,
  1055. "Variables that Control the Build");
  1056. cm->DefineProperty
  1057. ("EXECUTABLE_OUTPUT_PATH", cmProperty::VARIABLE,
  1058. "Old executable location variable.",
  1059. "The target property RUNTIME_OUTPUT_DIRECTORY supercedes "
  1060. "this variable for a target if it is set. "
  1061. "Executable targets are otherwise placed in this directory.",false,
  1062. "Variables that Control the Build");
  1063. cm->DefineProperty
  1064. ("LIBRARY_OUTPUT_PATH", cmProperty::VARIABLE,
  1065. "Old library location variable.",
  1066. "The target properties ARCHIVE_OUTPUT_DIRECTORY, "
  1067. "LIBRARY_OUTPUT_DIRECTORY, and RUNTIME_OUTPUT_DIRECTORY supercede "
  1068. "this variable for a target if they are set. "
  1069. "Library targets are otherwise placed in this directory.",false,
  1070. "Variables that Control the Build");
  1071. cm->DefineProperty
  1072. ("CMAKE_TRY_COMPILE_CONFIGURATION", cmProperty::VARIABLE,
  1073. "Build configuration used for try_compile and try_run projects.",
  1074. "Projects built by try_compile and try_run are built "
  1075. "synchronously during the CMake configuration step. "
  1076. "Therefore a specific build configuration must be chosen even "
  1077. "if the generated build system supports multiple configurations.",false,
  1078. "Variables that Control the Build");
  1079. // Variables defined when the a language is enabled These variables will
  1080. // also be defined whenever CMake has loaded its support for compiling (LANG)
  1081. // programs. This support will be loaded whenever CMake is used to compile
  1082. // (LANG) files. C and CXX are examples of the most common values for (LANG).
  1083. cm->DefineProperty
  1084. ("CMAKE_USER_MAKE_RULES_OVERRIDE_<LANG>", cmProperty::VARIABLE,
  1085. "Specify a CMake file that overrides platform information for <LANG>.",
  1086. "This is a language-specific version of "
  1087. "CMAKE_USER_MAKE_RULES_OVERRIDE loaded only when enabling "
  1088. "language <LANG>.",false,
  1089. "Variables for Languages");
  1090. cm->DefineProperty
  1091. ("CMAKE_<LANG>_COMPILER", cmProperty::VARIABLE,
  1092. "The full path to the compiler for LANG.",
  1093. "This is the command that will be used as the <LANG> compiler. "
  1094. "Once set, you can not change this variable.",false,
  1095. "Variables for Languages");
  1096. cm->DefineProperty
  1097. ("CMAKE_<LANG>_COMPILER_ID", cmProperty::VARIABLE,
  1098. "An internal variable subject to change.",
  1099. "This is used in determining the compiler and is subject to change.",
  1100. false,
  1101. "Variables for Languages");
  1102. cm->DefineProperty
  1103. ("CMAKE_<LANG>_PLATFORM_ID", cmProperty::VARIABLE,
  1104. "An internal variable subject to change.",
  1105. "This is used in determining the platform and is subject to change.",
  1106. false,
  1107. "Variables for Languages");
  1108. cm->DefineProperty
  1109. ("CMAKE_<LANG>_COMPILER_ABI", cmProperty::VARIABLE,
  1110. "An internal variable subject to change.",
  1111. "This is used in determining the compiler ABI and is subject to change.",
  1112. false,
  1113. "Variables for Languages");
  1114. cm->DefineProperty
  1115. ("CMAKE_INTERNAL_PLATFORM_ABI", cmProperty::VARIABLE,
  1116. "An internal variable subject to change.",
  1117. "This is used in determining the compiler ABI and is subject to change.",
  1118. false,
  1119. "Variables for Languages");
  1120. cm->DefineProperty
  1121. ("CMAKE_<LANG>_SIZEOF_DATA_PTR", cmProperty::VARIABLE,
  1122. "Size of pointer-to-data types for language <LANG>.",
  1123. "This holds the size (in bytes) of pointer-to-data types in the target "
  1124. "platform ABI. "
  1125. "It is defined for languages C and CXX (C++).",
  1126. false,
  1127. "Variables for Languages");
  1128. cm->DefineProperty
  1129. ("CMAKE_COMPILER_IS_GNU<LANG>", cmProperty::VARIABLE,
  1130. "True if the compiler is GNU.",
  1131. "If the selected <LANG> compiler is the GNU "
  1132. "compiler then this is TRUE, if not it is FALSE.",false,
  1133. "Variables for Languages");
  1134. cm->DefineProperty
  1135. ("CMAKE_<LANG>_FLAGS_DEBUG", cmProperty::VARIABLE,
  1136. "Flags for Debug build type or configuration.",
  1137. "<LANG> flags used when CMAKE_BUILD_TYPE is Debug.",false,
  1138. "Variables for Languages");
  1139. cm->DefineProperty
  1140. ("CMAKE_<LANG>_FLAGS_MINSIZEREL", cmProperty::VARIABLE,
  1141. "Flags for MinSizeRel build type or configuration.",
  1142. "<LANG> flags used when CMAKE_BUILD_TYPE is MinSizeRel."
  1143. "Short for minimum size release.",false,
  1144. "Variables for Languages");
  1145. cm->DefineProperty
  1146. ("CMAKE_<LANG>_FLAGS_RELEASE", cmProperty::VARIABLE,
  1147. "Flags for Release build type or configuration.",
  1148. "<LANG> flags used when CMAKE_BUILD_TYPE is Release",false,
  1149. "Variables for Languages");
  1150. cm->DefineProperty
  1151. ("CMAKE_<LANG>_FLAGS_RELWITHDEBINFO", cmProperty::VARIABLE,
  1152. "Flags for RelWithDebInfo type or configuration.",
  1153. "<LANG> flags used when CMAKE_BUILD_TYPE is RelWithDebInfo. "
  1154. "Short for Release With Debug Information.",false,
  1155. "Variables for Languages");
  1156. cm->DefineProperty
  1157. ("CMAKE_<LANG>_COMPILE_OBJECT", cmProperty::VARIABLE,
  1158. "Rule variable to compile a single object file.",
  1159. "This is a rule variable that tells CMake how to "
  1160. "compile a single object file for for the language <LANG>.",false,
  1161. "Variables for Languages");
  1162. cm->DefineProperty
  1163. ("CMAKE_<LANG>_CREATE_SHARED_LIBRARY", cmProperty::VARIABLE,
  1164. "Rule variable to create a shared library.",
  1165. "This is a rule variable that tells CMake how to "
  1166. "create a shared library for the language <LANG>.",false,
  1167. "Variables for Languages");
  1168. cm->DefineProperty
  1169. ("CMAKE_<LANG>_CREATE_SHARED_MODULE", cmProperty::VARIABLE,
  1170. "Rule variable to create a shared module.",
  1171. "This is a rule variable that tells CMake how to "
  1172. "create a shared library for the language <LANG>.",false,
  1173. "Variables for Languages");
  1174. cm->DefineProperty
  1175. ("CMAKE_<LANG>_CREATE_STATIC_LIBRARY", cmProperty::VARIABLE,
  1176. "Rule variable to create a static library.",
  1177. "This is a rule variable that tells CMake how "
  1178. "to create a static library for the language <LANG>.",false,
  1179. "Variables for Languages");
  1180. cm->DefineProperty
  1181. ("CMAKE_<LANG>_ARCHIVE_CREATE", cmProperty::VARIABLE,
  1182. "Rule variable to create a new static archive.",
  1183. "This is a rule variable that tells CMake how to create a static "
  1184. "archive. It is used in place of CMAKE_<LANG>_CREATE_STATIC_LIBRARY "
  1185. "on some platforms in order to support large object counts. "
  1186. "See also CMAKE_<LANG>_ARCHIVE_APPEND and CMAKE_<LANG>_ARCHIVE_FINISH.",
  1187. false, "Variables for Languages");
  1188. cm->DefineProperty
  1189. ("CMAKE_<LANG>_ARCHIVE_APPEND", cmProperty::VARIABLE,
  1190. "Rule variable to append to a static archive.",
  1191. "This is a rule variable that tells CMake how to append to a static "
  1192. "archive. It is used in place of CMAKE_<LANG>_CREATE_STATIC_LIBRARY "
  1193. "on some platforms in order to support large object counts. "
  1194. "See also CMAKE_<LANG>_ARCHIVE_CREATE and CMAKE_<LANG>_ARCHIVE_FINISH.",
  1195. false, "Variables for Languages");
  1196. cm->DefineProperty
  1197. ("CMAKE_<LANG>_ARCHIVE_FINISH", cmProperty::VARIABLE,
  1198. "Rule variable to finish an existing static archive.",
  1199. "This is a rule variable that tells CMake how to finish a static "
  1200. "archive. It is used in place of CMAKE_<LANG>_CREATE_STATIC_LIBRARY "
  1201. "on some platforms in order to support large object counts. "
  1202. "See also CMAKE_<LANG>_ARCHIVE_CREATE and CMAKE_<LANG>_ARCHIVE_APPEND.",
  1203. false, "Variables for Languages");
  1204. cm->DefineProperty
  1205. ("CMAKE_<LANG>_IGNORE_EXTENSIONS", cmProperty::VARIABLE,
  1206. "File extensions that should be ignored by the build.",
  1207. "This is a list of file extensions that may be "
  1208. "part of a project for a given language but are not compiled. ",false,
  1209. "Variables for Languages");
  1210. cm->DefineProperty
  1211. ("CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES", cmProperty::VARIABLE,
  1212. "Directories implicitly searched by the compiler for header files.",
  1213. "CMake does not explicitly specify these directories on compiler "
  1214. "command lines for language <LANG>. "
  1215. "This prevents system include directories from being treated as user "
  1216. "include directories on some compilers.", false,
  1217. "Variables for Languages");
  1218. cm->DefineProperty
  1219. ("CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES", cmProperty::VARIABLE,
  1220. "Implicit linker search path detected for language <LANG>.",
  1221. "Compilers typically pass directories containing language runtime "
  1222. "libraries and default library search paths when they invoke a linker. "
  1223. "These paths are implicit linker search directories for the compiler's "
  1224. "language. "
  1225. "CMake automatically detects these directories for each language and "
  1226. "reports the results in this variable.", false,
  1227. "Variables for Languages");
  1228. cm->DefineProperty
  1229. ("CMAKE_<LANG>_IMPLICIT_LINK_LIBRARIES", cmProperty::VARIABLE,
  1230. "Implicit link libraries and flags detected for language <LANG>.",
  1231. "Compilers typically pass language runtime library names and "
  1232. "other flags when they invoke a linker. "
  1233. "These flags are implicit link options for the compiler's language. "
  1234. "CMake automatically detects these libraries and flags for each "
  1235. "language and reports the results in this variable.", false,
  1236. "Variables for Languages");
  1237. cm->DefineProperty
  1238. ("CMAKE_<LANG>_LINKER_PREFERENCE_PROPAGATES", cmProperty::VARIABLE,
  1239. "True if CMAKE_<LANG>_LINKER_PREFERENCE propagates across targets.",
  1240. "This is used when CMake selects a linker language for a target. "
  1241. "Languages compiled directly into the target are always considered. "
  1242. "A language compiled into static libraries linked by the target is "
  1243. "considered if this variable is true.", false,
  1244. "Variables for Languages");
  1245. cm->DefineProperty
  1246. ("CMAKE_<LANG>_LINKER_PREFERENCE", cmProperty::VARIABLE,
  1247. "Preference value for linker language selection.",
  1248. "The \"linker language\" for executable, shared library, and module "
  1249. "targets is the language whose compiler will invoke the linker. "
  1250. "The LINKER_LANGUAGE target property sets the language explicitly. "
  1251. "Otherwise, the linker language is that whose linker preference value "
  1252. "is highest among languages compiled and linked into the target. "
  1253. "See also the CMAKE_<LANG>_LINKER_PREFERENCE_PROPAGATES variable.",
  1254. false,
  1255. "Variables for Languages");
  1256. cm->DefineProperty
  1257. ("CMAKE_<LANG>_LINK_EXECUTABLE ", cmProperty::VARIABLE,
  1258. "Rule variable to link and executable.",
  1259. "Rule variable to link and executable for the given language.",false,
  1260. "Variables for Languages");
  1261. cm->DefineProperty
  1262. ("CMAKE_<LANG>_OUTPUT_EXTENSION", cmProperty::VARIABLE,
  1263. "Extension for the output of a compile for a single file.",
  1264. "This is the extension for an object file for "
  1265. "the given <LANG>. For example .obj for C on Windows.",false,
  1266. "Variables for Languages");
  1267. cm->DefineProperty
  1268. ("CMAKE_<LANG>_SOURCE_FILE_EXTENSIONS", cmProperty::VARIABLE,
  1269. "Extensions of source files for the given language.",
  1270. "This is the list of extensions for a "
  1271. "given languages source files.",false,"Variables for Languages");
  1272. cm->DefineProperty(
  1273. "CMAKE_<LANG>_COMPILER_LOADED", cmProperty::VARIABLE,
  1274. "Defined to true if the language is enabled.",
  1275. "When language <LANG> is enabled by project() or enable_language() "
  1276. "this variable is defined to 1.",
  1277. false,"Variables for Languages");
  1278. cm->DefineProperty(
  1279. "CMAKE_Fortran_MODDIR_FLAG", cmProperty::VARIABLE,
  1280. "Fortran flag for module output directory.",
  1281. "This stores the flag needed to pass the value of the "
  1282. "Fortran_MODULE_DIRECTORY target property to the compiler.",
  1283. false,"Variables for Languages");
  1284. cm->DefineProperty(
  1285. "CMAKE_Fortran_MODDIR_DEFAULT", cmProperty::VARIABLE,
  1286. "Fortran default module output directory.",
  1287. "Most Fortran compilers write .mod files to the current working "
  1288. "directory. "
  1289. "For those that do not, this is set to \".\" and used when the "
  1290. "Fortran_MODULE_DIRECTORY target property is not set.",
  1291. false,"Variables for Languages");
  1292. cm->DefineProperty(
  1293. "CMAKE_Fortran_MODOUT_FLAG", cmProperty::VARIABLE,
  1294. "Fortran flag to enable module output.",
  1295. "Most Fortran compilers write .mod files out by default. "
  1296. "For others, this stores the flag needed to enable module output.",
  1297. false,"Variables for Languages");
  1298. // variables that are used by cmake but not to be documented
  1299. cm->DefineProperty("CMAKE_MATCH_0", cmProperty::VARIABLE,0,0);
  1300. cm->DefineProperty("CMAKE_MATCH_1", cmProperty::VARIABLE,0,0);
  1301. cm->DefineProperty("CMAKE_MATCH_2", cmProperty::VARIABLE,0,0);
  1302. cm->DefineProperty("CMAKE_MATCH_3", cmProperty::VARIABLE,0,0);
  1303. cm->DefineProperty("CMAKE_MATCH_4", cmProperty::VARIABLE,0,0);
  1304. cm->DefineProperty("CMAKE_MATCH_5", cmProperty::VARIABLE,0,0);
  1305. cm->DefineProperty("CMAKE_MATCH_6", cmProperty::VARIABLE,0,0);
  1306. cm->DefineProperty("CMAKE_MATCH_7", cmProperty::VARIABLE,0,0);
  1307. cm->DefineProperty("CMAKE_MATCH_8", cmProperty::VARIABLE,0,0);
  1308. cm->DefineProperty("CMAKE_MATCH_9", cmProperty::VARIABLE,0,0);
  1309. cm->DefineProperty("CMAKE_<LANG>_COMPILER_ARG1",
  1310. cmProperty::VARIABLE,0,0);
  1311. cm->DefineProperty("CMAKE_<LANG>_COMPILER_ENV_VAR",
  1312. cmProperty::VARIABLE,0,0);
  1313. cm->DefineProperty("CMAKE_<LANG>_COMPILER_ID_RUN",
  1314. cmProperty::VARIABLE,0,0);
  1315. cm->DefineProperty("CMAKE_<LANG>_CREATE_ASSEMBLY_SOURCE",
  1316. cmProperty::VARIABLE,0,0);
  1317. cm->DefineProperty("CMAKE_<LANG>_CREATE_PREPROCESSED_SOURCE",
  1318. cmProperty::VARIABLE,0,0);
  1319. cm->DefineProperty("CMAKE_<LANG>_FLAGS",
  1320. cmProperty::VARIABLE,0,0);
  1321. cm->DefineProperty("CMAKE_<LANG>_FLAGS_DEBUG_INIT",
  1322. cmProperty::VARIABLE,0,0);
  1323. cm->DefineProperty("CMAKE_<LANG>_FLAGS_INIT",
  1324. cmProperty::VARIABLE,0,0);
  1325. cm->DefineProperty("CMAKE_<LANG>_FLAGS_MINSIZEREL_INIT",
  1326. cmProperty::VARIABLE,0,0);
  1327. cm->DefineProperty("CMAKE_<LANG>_FLAGS_RELEASE_INIT",
  1328. cmProperty::VARIABLE,0,0);
  1329. cm->DefineProperty("CMAKE_<LANG>_FLAGS_RELWITHDEBINFO_INIT",
  1330. cmProperty::VARIABLE,0,0);
  1331. cm->DefineProperty("CMAKE_<LANG>_INFORMATION_LOADED",
  1332. cmProperty::VARIABLE,0,0);
  1333. cm->DefineProperty("CMAKE_<LANG>_LINK_EXECUTABLE",
  1334. cmProperty::VARIABLE,0,0);
  1335. cm->DefineProperty("CMAKE_<LANG>_LINK_FLAGS",
  1336. cmProperty::VARIABLE,0,0);
  1337. cm->DefineProperty("CMAKE_<LANG>_RESPONSE_FILE_LINK_FLAG",
  1338. cmProperty::VARIABLE,0,0);
  1339. cm->DefineProperty("CMAKE_<LANG>_STANDARD_LIBRARIES",
  1340. cmProperty::VARIABLE,0,0);
  1341. cm->DefineProperty("CMAKE_<LANG>_STANDARD_LIBRARIES_INIT",
  1342. cmProperty::VARIABLE,0,0);
  1343. cm->DefineProperty("CMAKE_<LANG>_USE_RESPONSE_FILE_FOR_INCLUDES",
  1344. cmProperty::VARIABLE,0,0);
  1345. cm->DefineProperty("CMAKE_<LANG>_USE_RESPONSE_FILE_FOR_OBJECTS",
  1346. cmProperty::VARIABLE,0,0);
  1347. cm->DefineProperty("CMAKE_EXECUTABLE_SUFFIX_<LANG>",
  1348. cmProperty::VARIABLE,0,0);
  1349. cm->DefineProperty("CMAKE_EXE_LINK_DYNAMIC_<LANG>_FLAGS",
  1350. cmProperty::VARIABLE,0,0);
  1351. cm->DefineProperty("CMAKE_EXE_LINK_STATIC_<LANG>_FLAGS",
  1352. cmProperty::VARIABLE,0,0);
  1353. cm->DefineProperty("CMAKE_GENERATOR_<LANG>",
  1354. cmProperty::VARIABLE,0,0);
  1355. cm->DefineProperty("CMAKE_IMPORT_LIBRARY_PREFIX_<LANG>",
  1356. cmProperty::VARIABLE,0,0);
  1357. cm->DefineProperty("CMAKE_IMPORT_LIBRARY_SUFFIX_<LANG>",
  1358. cmProperty::VARIABLE,0,0);
  1359. cm->DefineProperty("CMAKE_INCLUDE_FLAG_<LANG>",
  1360. cmProperty::VARIABLE,0,0);
  1361. cm->DefineProperty("CMAKE_INCLUDE_FLAG_SEP_<LANG>",
  1362. cmProperty::VARIABLE,0,0);
  1363. cm->DefineProperty("CMAKE_INCLUDE_SYSTEM_FLAG_<LANG>",
  1364. cmProperty::VARIABLE,0,0);
  1365. cm->DefineProperty("CMAKE_NEEDS_REQUIRES_STEP_<LANG>_FLAG",
  1366. cmProperty::VARIABLE,0,0);
  1367. cm->DefineProperty("CMAKE_SHARED_LIBRARY_CREATE_<LANG>_FLAGS",
  1368. cmProperty::VARIABLE,0,0);
  1369. cm->DefineProperty("CMAKE_SHARED_LIBRARY_<LANG>_FLAGS",
  1370. cmProperty::VARIABLE,0,0);
  1371. cm->DefineProperty("CMAKE_SHARED_LIBRARY_LINK_<LANG>_FLAGS",
  1372. cmProperty::VARIABLE,0,0);
  1373. cm->DefineProperty("CMAKE_SHARED_LIBRARY_LINK_DYNAMIC_<LANG>_FLAGS",
  1374. cmProperty::VARIABLE,0,0);
  1375. cm->DefineProperty("CMAKE_SHARED_LIBRARY_LINK_STATIC_<LANG>_FLAGS",
  1376. cmProperty::VARIABLE,0,0);
  1377. cm->DefineProperty("CMAKE_SHARED_LIBRARY_PREFIX_<LANG>",
  1378. cmProperty::VARIABLE,0,0);
  1379. cm->DefineProperty("CMAKE_SHARED_LIBRARY_SUFFIX_<LANG>",
  1380. cmProperty::VARIABLE,0,0);
  1381. cm->DefineProperty("CMAKE_SHARED_LIBRARY_RUNTIME_<LANG>_FLAG",
  1382. cmProperty::VARIABLE,0,0);
  1383. cm->DefineProperty("CMAKE_SHARED_LIBRARY_RUNTIME_<LANG>_FLAG_SEP",
  1384. cmProperty::VARIABLE,0,0);
  1385. cm->DefineProperty("CMAKE_SHARED_LIBRARY_RPATH_LINK_<LANG>_FLAG",
  1386. cmProperty::VARIABLE,0,0);
  1387. cm->DefineProperty("CMAKE_EXECUTABLE_RUNTIME_<LANG>_FLAG",
  1388. cmProperty::VARIABLE,0,0);
  1389. cm->DefineProperty("CMAKE_EXECUTABLE_RUNTIME_<LANG>_FLAG_SEP",
  1390. cmProperty::VARIABLE,0,0);
  1391. cm->DefineProperty("CMAKE_EXECUTABLE_RPATH_LINK_<LANG>_FLAG",
  1392. cmProperty::VARIABLE,0,0);
  1393. cm->DefineProperty("CMAKE_PLATFORM_REQUIRED_RUNTIME_PATH",
  1394. cmProperty::VARIABLE,0,0);
  1395. cm->DefineProperty("CMAKE_SHARED_MODULE_CREATE_<LANG>_FLAGS",
  1396. cmProperty::VARIABLE,0,0);
  1397. cm->DefineProperty("CMAKE_SHARED_MODULE_<LANG>_FLAGS",
  1398. cmProperty::VARIABLE,0,0);
  1399. cm->DefineProperty("CMAKE_SHARED_MODULE_LINK_DYNAMIC_<LANG>_FLAGS",
  1400. cmProperty::VARIABLE,0,0);
  1401. cm->DefineProperty("CMAKE_SHARED_MODULE_LINK_STATIC_<LANG>_FLAGS",
  1402. cmProperty::VARIABLE,0,0);
  1403. cm->DefineProperty("CMAKE_SHARED_MODULE_PREFIX_<LANG>",
  1404. cmProperty::VARIABLE,0,0);
  1405. cm->DefineProperty("CMAKE_SHARED_MODULE_SUFFIX_<LANG>",
  1406. cmProperty::VARIABLE,0,0);
  1407. cm->DefineProperty("CMAKE_STATIC_LIBRARY_PREFIX_<LANG>",
  1408. cmProperty::VARIABLE,0,0);
  1409. cm->DefineProperty("CMAKE_STATIC_LIBRARY_SUFFIX_<LANG>",
  1410. cmProperty::VARIABLE,0,0);
  1411. cm->DefineProperty("CMAKE_LINK_DEPENDENT_LIBRARY_FILES",
  1412. cmProperty::VARIABLE,0,0);
  1413. cm->DefineProperty("CMAKE_LINK_DEPENDENT_LIBRARY_DIRS",
  1414. cmProperty::VARIABLE,0,0);
  1415. cm->DefineProperty("CMAKE_MAKE_INCLUDE_FROM_ROOT",
  1416. cmProperty::VARIABLE,0,0);
  1417. }