Comments (3)
This plugin predates the cmake support provided by the CDT team and is made to work just with a plain C/C++ Project.
The Empty or Existing CMake Project project creation dialog comes from the CDT team since CDT 9.1, it is not related to this plugin.
Just create a plain C/C++ Project and enable the settings provider, which teaches CDT to recognize the preprocessor defines and include paths defined in your CMakelists.txt
: Enable Project Properties|C/C++ General|Preprocessor include Paths...|Providers|CMAKE_EXPORT_COMPILE_COMMANDS Parser
). Of course, the name of your compiler executable file should match sth. like gcc, cc or gcc,.exe cc.exe for the parser to work. If not and if you do not see your include dirs displayed in the includes folder in the C-Projects view; check the error log of eclipse and report here.
As a start, you might check-out the the test project here and use it as a template.
from cmake4eclipse.
Seems like the issue is about "versioned" gcc name:
/test/build/Debug/compile_commands.json: No parser for command '/apps/tools/cent_os72/binlinks/g++-7.1 ....', skipped
Is it possible to tune it for recognizing g++-7.1 as g++?
from cmake4eclipse.
See issue #43.
from cmake4eclipse.
Related Issues (20)
- Can be the path to CMakeLists.txt changed? HOT 2
- CMake Compilation DB Provider include pathes pointing nowhere HOT 4
- Cannot override Generator per project using CMAKE_GENERATOR variable HOT 1
- "CMake Compilation DB" provider provides C++ include paths for C language HOT 3
- Specify cmake executable HOT 1
- Adding cmake cache entries corrupts the file .cproject HOT 5
- Default build tool HOT 1
- Include directories are not updated automatically (CMake Compilation DB) HOT 5
- add external library and add_subdirectory to project tree HOT 8
- The subdirectory entry is printed in red HOT 2
- de.marw.cmake4eclipse.mbs.settings::buildDir is set to "" HOT 5
- After changing the build configuration, cmake generation does not start. HOT 4
- incompatibility with eclipse 2023-12 HOT 7
- Eclipse can't find arm-none-eabi-gdb.exe HOT 4
- Cmake4eclipse Managed Build wizard missing HOT 2
- NPE when managing multiple configurations
- Cmake file-api support HOT 2
- Add selection of docker network type when building in container HOT 2
- Sometimes after a clean, software is build in root project HOT 4
- cmake-presets support HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmake4eclipse.