cmDocumentVariables.cxx 61 KB

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