Jump to content

Talk:CMake

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Alexander Davronov (talk | contribs) at 09:53, 15 March 2021 (Build-system generator VS build-system-configuration generator: new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

WikiProject iconComputing: Software / Free and open-source software C‑class Low‑importance
WikiProject iconThis article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
CThis article has been rated as C-class on Wikipedia's content assessment scale.
LowThis article has been rated as Low-importance on the project's importance scale.
Taskforce icon
This article is supported by WikiProject Software (assessed as Low-importance).
Taskforce icon
This article is supported by Free and open-source software (assessed as Mid-importance).
WikiProject iconLinux C‑class Low‑importance
WikiProject iconThis article is within the scope of WikiProject Linux, a collaborative effort to improve the coverage of Linux on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
CThis article has been rated as C-class on Wikipedia's content assessment scale.
LowThis article has been rated as Low-importance on the project's importance scale.

Major features

[Removed the following on the theory that it made it too much like advertising:]

  • Configuration files are CMake scripts, which use a programming language specialized to software builds, said by its designers to be simple and compact.
  • Automatic dependency analysis built-in for C, C++, Fortran and Java,
  • Support of SWIG, Qt, FLTK via the CMake scripting language,
  • Built-in support for Microsoft Visual Studio .NET and past Visual Studio versions, including generation of .dsp, .dsw, .sln and .vcproj files,
  • Detection of file content changes using traditional timestamps,
  • Support for parallel builds,
  • Cross-compilation,
  • Global view of all dependencies, using CMake to output a graphviz diagram,
  • Designed from the ground up for cross-platform builds, and known to work on Linux, other POSIX systems (including AIX, *BSD systems, HP-UX, IRIX/SGI, MinGW/MSYS and Solaris), Mac OS X and Windows 95/98/NT/2000/XP,
  • Integrated with Dart, CTest and CPack, a collection of tools for software testing and release.

Mark Foskey 19:40, 23 September 2007 (UTC)[reply]

I think some of those are important bits of information, and I added some of them in with references. Vadmium (talk) 04:08, 7 November 2010 (UTC)[reply]

Notability issues regarding Andy Cedilnik and Ken Martin.

Both of these people have Wiki links pointing to no article. Unless someone is prepared to create articles for them - and not just about their work on CMake - then the links will be removed. Sslaxx (talk) 15:45, 4 August 2009 (UTC)[reply]

Duplicates

Blender is also listed as using SCons! Is it possible it uses the two? I find it hard to belive... 189.87.149.23 (talk)NeoStrider —Preceding undated comment added 00:12, 3 December 2009 (UTC).[reply]

Yes, it is possible, you just have to write both SConstruct and CMakeLists.txt, then you can use either CMake or SCons to build. Spidermario (talk) 13:59, 29 December 2009 (UTC)[reply]

Book propaganda

Is the specific book link really interesting on the page? Think just the open documentation references are valid in this case. —Preceding unsigned comment added by Guaxinim (talkcontribs) 16:15, 24 February 2010 (UTC)[reply]

I've moved it to being a reference, which I believe is reasonable. I'm not a cmake pro though so if there are better references which should replace it then go ahead... --mcld (talk) 21:36, 9 August 2010 (UTC)[reply]

Who use it

Are you sure, that Conky a SuperTux use cmake? In their last archives is used autotools.--Dundee5 (talk) 14:56, 29 March 2010 (UTC)[reply]

SuperTux does have a CMakeLists.txt, at least in its SubVersion repository. However, I didn't find any for Conky. Spidermario (talk) 11:05, 16 April 2010 (UTC)[reply]

Conky (software) apparently does. I added a reference to README.cmake in the source code. Vadmium (talk) 04:08, 7 November 2010 (UTC)[reply]

The text marked as possible copyright infringement for the CMake entry on Wikipedia.org is available for use in the discussion of CMake as a software application and solution. As a company we have made this text available for use as part of our corporate messaging. The permissions can be found here: http://cmake.org/cmake/project/press_kit.html

Please contact me if further clarification is needed, Niki Russell (niki.russell@kitware.com) —Preceding unsigned comment added by 66.194.253.20 (talk) 17:41, 27 October 2010 (UTC)[reply]

It has been over a week since the last communication of the Wikimedia Foundation's OTRS team to the company about this matter (Ticket:2010102710011944, which is viewable only to individuals who have been cleared to read such content by the WMF), and the requested licensing release has not been supplied. Accordingly, we have had no choice but to delete the material. It can be restored if proper licensing is verified in accordance with that communication. --Moonriddengirl (talk) 13:55, 6 November 2010 (UTC)[reply]
Seven years later, could somebody please remove the huge historic OTRS blurb on the top of this page? My WP:BOLD resources are somewhat limited without logging in. –89.15.236.224 (talk) 21:12, 7 October 2017 (UTC)[reply]

comparison with GNU make?

Seeing as GNU make and autotools are the main "competitor", shouldn't this page at least try to compare them a bit? — Preceding unsigned comment added by 129.177.13.200 (talk) 13:36, 17 August 2011 (UTC)[reply]

Confusing make(1) with GNU autotools. The latter is the competitor. 2001:470:600D:DEAD:0:0:0:42 (talk) 00:02, 1 September 2012 (UTC)[reply]

They are linked from the article. More would be undue weight, IMHO. -- DevSolar (talk) 11:29, 22 April 2013 (UTC)[reply]

Notable applications

The § Notable applications that use CMake section lists 70+ applications, most without references. Do we really want to keep adding stuff to that section until Wikipedia runs out of space and explodes? It looks more like a 'Oh, I know another app that uses it that's not yet listed' list. Make (software) doesn't feel the need to list everything... --82.136.210.153 (talk) 20:29, 1 February 2015 (UTC)[reply]

I think this whole article is just an advertisement. Really, why does an encyclopedia need to list features of every software package? Just leave cmake in the build generation tools article and delete this ad. — Preceding unsigned comment added by 2620:0:E50:7016:99C0:7176:CC20:28EF (talk) 15:58, 11 March 2016 (UTC)[reply]

Agree. The section doesn't serve any encyclopaedic purpose, I have removed it. Liam McM 16:12, 22 April 2019 (UTC)[reply]

Hello fellow Wikipedians,

I have just modified one external link on CMake. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:

When you have finished reviewing my changes, please set the checked parameter below to true or failed to let others know (documentation at {{Sourcecheck}}).

checkY An editor has reviewed this edit and fixed any errors that were found.

  • If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
  • If you found an error with any archives or the URLs themselves, you can fix them with this tool.

Cheers.—InternetArchiveBot (Report bug) 07:44, 12 November 2016 (UTC)[reply]

Proposal to merge from CPack

CPack is almost a stub. I'm not sure if it meets the notability criteria as a standalone article, with only one reference. Should it be merged to this subject article? 2001:2003:54FA:2751:0:0:0:1 (talk) 03:56, 5 October 2017 (UTC)[reply]

It's no stub, it's a deletion candidate with multiple issues, actually more issues than lines. IOW, yes, go for it. –89.15.236.224 (talk) 21:05, 7 October 2017 (UTC)[reply]
Certainly merge a bit of it; a mention might be worth it. But it doesn't need its own page. peterl (talk) 10:32, 22 November 2017 (UTC)[reply]

Code & keywords highlighting

@Mwtoews: I know about {{code}} but I want few commands to be highlighted in language-wise way. Why not? AXONOV (talk) 11:02, 3 November 2020 (UTC)[reply]

@Alexander Davronov: FYI, inline {{code}} can take a |lang=cmake parameter to achieve what you want. However, I found that add_executable(...) is more consistent and readable than add_executable(...), so I picked the former. So why colourise these two inline words? I would normally choose to inline syntax highlight longer code segments to help distinguish between (e.g.) operators, variables, etc., but this consideration doesn't really apply to the two words. +mt 21:55, 3 November 2020 (UTC)[reply]
@+m: Both tag and template are fine and are subject to personal preferences which is in turn subject to consensus. Those two words are distinguished the best by using colors as it's not a coincidence that code highlighting was invented. I totally disagree over that plain white/black is consistent or readable. Especially when the background is overburdened by bunch of unhighlighted code words. AXONOV (talk) 07:36, 4 November 2020 (UTC)[reply]

@Alexander Davronov: What did you mean when you wrote "the background is overburdened by bunch of unhighlighted code words"?  Which words overburden which background?
 Black Walnut talk 13:36, 30 January 2021 (UTC)[reply]

@Black Walnut: Hi, everything is fixed now. Never mind. Feel free to close this conversation. Thanks for your attention. AXONOV (talk) 20:34, 10 February 2021 (UTC)[reply]

Build-system generator VS build-system-configuration generator

@Peterl: .. While it does configuration, I think it's clearer to say build-system generator

Hi! I think we should favor the «build-system-configuration generator» as per official documentation:

«... A CMake Generator is responsible for writing the input files for a native build system.»[1]

The current version is confusing because it makes you to think that it completely replaces tools like gnu make etc. AXONOV (talk) 09:53, 15 March 2021 (UTC)[reply]

References