cmDocumentVariables.cxx 82 KB

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