cmake4eclipse

Add this URL to your Eclipse Installation to reach this solution's update site.

2023-12 (4.30), 2024-03 (4.31)

https://raw.githubusercontent.com/15knots/cmake4eclipse/master/releng/comp-update/

Learn more...
Solution Description

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).

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)

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: Monday, January 15, 2024 - 15:55

Submitted by: Martin Weber

Date Ranking Installs Clickthroughs
March 2024 135/651 167 9
February 2024 106/687 310 14
January 2024 115/691 311 32
December 2023 101/671 341 25
November 2023 131/686 305 19
October 2023 121/673 343 28
September 2023 121/663 317 24
August 2023 128/673 277 17
July 2023 117/668 315 21
June 2023 117/669 355 16
May 2023 129/671 302 21
April 2023 122/667 335 21
View Data for all Listings

Unsuccessful Installs

Unsuccessful Installs in the last 7 Days: 0

Download last 500 errors (CSV)

Marketplace Drag to Install Button

By adding the following code below to your website you will be able to add an install button for cmake4eclipse.

HTML Code:

Markdown Syntax:

Output:

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client

Reviews Add new review

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

In reply to 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 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.

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!

In reply to 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.

 

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