cmDocumentVariables.cxx 84 KB

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