cmDocumentVariables.cxx 83 KB

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