cmDocumentVariables.cxx 66 KB

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