cmDocumentVariables.cxx 87 KB

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