cmDocumentVariables.cxx 84 KB

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