This Eclipse plugin automatically generates build-scripts for the Eclipse CDT managed build system from CMake scripts and runs the build.
- Automatic generation of build scripts. No need to manually invoke
cmake
. - Aims to make Eclipse projects cross-platform compatible without the need to change platform-specifc project settings due to automatic platform detection.
- Takes your CMakeLists.txt as the source of truth.
- Auto-detects the actual build tool to invoke: make,
ninja
, nmake, MinGW make, MSYS make, ... - Provides a Language Settings Provider that can feed include paths and pre-processor symbols from cmake to the CDT-Indexer.
- Its compiler-built-ins provider retrieves macros and include paths from the actual compiler, as far as the compiler supports that (including
nvcc
CUDA complier).
- Auto-detects the actual build tool to invoke: make,
For instructions inside the Eclipse workbench, go to Help:Help Contents, then open the 'Cmake4eclipse User Guide' node.
Categories: Build and Deploy
Additional Details
Eclipse Versions: 2023-12 (4.30), 2024-03 (4.31), 2024-06 (4.32), 2024-09 (4.33), 2024-12 (4.34), 2025-03 (4.35)
Platform Support: Windows, Mac, Linux/GTK
Organization Name: 15knots
Development Status: Production/Stable
Date Created: Friday, May 1, 2015 - 12:21
License: EPL 2.0
Date Updated: Saturday, May 4, 2024 - 15:23
Submitted by: Martin Weber
Date | Ranking | Installs | Clickthroughs |
---|---|---|---|
March 2025 | 131/637 | 143 | 28 |
February 2025 | 125/645 | 193 | 30 |
January 2025 | 99/654 | 248 | 23 |
December 2024 | 114/654 | 215 | 16 |
November 2024 | 103/658 | 285 | 18 |
October 2024 | 112/663 | 278 | 12 |
September 2024 | 120/642 | 232 | 13 |
August 2024 | 121/641 | 208 | 22 |
July 2024 | 111/663 | 247 | 15 |
June 2024 | 111/681 | 275 | 27 |
May 2024 | 136/682 | 238 | 28 |
April 2024 | 125/687 | 277 | 26 |
Unsuccessful Installs
Unsuccessful Installs in the last 7 Days: 7
Reviews Add new review
Don't install anymore from Marketplace
Submitted by Jose Maldonado on Sun, 05/23/2021 - 06:48
Same problem. Will be a new version or a replacement of this plugin? How can I install it?
Thanks in advance
Cannot install cmake4eclipse from Maketplace
Submitted by Peixi Gong on Mon, 01/20/2020 - 02:58
Hi, the link is broken, when i install cmake4eclipse from Marketplace, it shows:
The following solutions are not available: cmake4eclipse.
It tries to pull from this site:
https :// raw.githubusercontent.com/15knots/cmake4eclipse/master/releng/comp-update/content.xml
br
Peixi
Re: Cannot install cmake4eclipse from Maketplace
Submitted by Frank Poppen on Fri, 05/07/2021 - 09:58
In reply to Cannot install cmake4eclipse from Maketplace by Peixi Gong
I seem to experience the same issue. Using Help -> Eclipse Marcetplace ... -> find "cmake" I get to find "cmake4eclipse 2.1.4". But click on "Install" gives me "The following solutions are not available: cmake4eclipse 2.1.4"
Also dragging in the Install link from this side did not help. Is there a solution to this?
Regards,
Frank
Doesn't work
Submitted by Benjamin Shadwick on Sun, 03/10/2019 - 15:02
Doesn't work for an existing project:
Followed the Getting Started section of the user guide, but when I try to build it just invokes CMake to create Makefiles. There's no way to build the code itself.
The project builds fine in Eclipse if I manually invoke CMake with the Eclipse CDT generator and then import the project into Eclipse, so there's nothing wrong with the CMakeLists.txt or Eclipse.
Re: Doesn't work
Submitted by Martin Weber on Thu, 03/21/2019 - 17:49
In reply to Doesn't work by Benjamin Shadwick
<p>Works for me since 2013. Did you have a look at the CDT build console?<br />
Just import one of the <a href="https://github.com/15knots/cmake4eclipse-sample-projects.git">example projects</a> and see.</p>
Connection Refused
Submitted by Nitin Sharma on Sun, 09/23/2018 - 16:47
how to set up connction again.
Update after change of CMakeList.txt
Submitted by Piotr Pryga on Mon, 01/08/2018 - 16:44
There is a problem with a project after update of CMakeLists.txt file by hand. If e.g. I add something there and try to build, soluion will be not re-created. It would be very convenient to have that, in other case the plugin is "use once and avoid updates"... then it makes it senseless to use. Besides that is looks veri promissing!
Re: Update after change of CMakeList.txt
Submitted by Martin Weber on Mon, 01/15/2018 - 12:30
In reply to Update after change of CMakeList.txt by Piotr Pryga
For Makefiles and ninja files, cmake generates rules in the build-scripts that automatically re-generate the scripts if one of the project`s CMakeLists.txt files has changed. Simlar rules should be generated for MS solution files, too. Please have a look at these files.
BTW: Please use the <a href="http://groups.google.com/d/forum/cmake4eclipse-users">mailing list</a> to ask questions.
Connection Refused
Submitted by Hedayat Vatankhah on Sat, 01/07/2017 - 03:44
Trying to install, but seems the following link is broken (added spaces so that it'll be allowed to be posted):
https :// raw.githubusercontent.com/15knots/cmake4eclipse/master/releng/comp-update/content.xml
Re: Connection Refused
Submitted by Peixi Gong on Mon, 01/20/2020 - 02:59
In reply to Connection Refused by Hedayat Vatankhah
HI Hedayat, did you get any reply on your link broken comment? I have the same issue.
br
Peixi
Re: Re: Connection Refused
Submitted by Hossein Sagha on Tue, 05/18/2021 - 21:27
In reply to Re: Connection Refused by Peixi Gong
Using Install New Software... with this link seems to be working for now:
jar:h*t*t*p*s://fifteenknots.jfrog.io/artifactory/p2-zip/cmake4eclipse-2.1.3.zip!/
Re: Re: Connection Refused
Submitted by Hedayat Vatankhah on Tue, 01/10/2023 - 08:10
In reply to Re: Connection Refused by Peixi Gong
Tried again today, and it works fine now!