[CMake] How to use CMake with Eclipse CDT?
Matějů Miroslav, Ing.
Mateju.Miroslav at azd.cz
Wed Apr 20 08:26:01 EDT 2016
Hi David,
Generation of project files in CMake is a one-way process. CMake is not able to edit its own input (CMakeLists.txt). To update a project managed by CMake, you should update CMakeLists.txt manually and regenerate your CDT project.
Best regards,
Miroslav
From: CMake [mailto:cmake-bounces at cmake.org] On Behalf Of David Aldrich
Sent: Wednesday, April 20, 2016 11:42 AM
To: cmake at cmake.org<mailto:cmake at cmake.org>
Subject: [CMake] How to use CMake with Eclipse CDT?
Hi
I want to build an Eclipse CDT (C++) project on Linux that can be maintained using CMake. I have seen the notes on the Eclipse CDT4 Generator here:
https://cmake.org/Wiki/Eclipse_CDT4_Generator
Is the sole purpose of that generator to create a CDT project from a CMake makefile?
Or, having run the generator, will CDT continue to maintain the project with CMake, adding new source files to CMakeLists.txt as required? This is what I want to achieve, so that my project can be built by another IDE, that understands CMake but not CDT, at any time.
Best regards
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160420/936c1230/attachment.html>
More information about the CMake
mailing list