I have a custom python script to build my projects in order to keep dependency simple, I would like to use Eclipse as a C++ IDE but keeping my build script.
To maintain autocompletion and intellisense (with docs etc...) I would like to tell Eclipse the (non standard) headers and defines added during dependency resolution in my script.
I've found that ".cproject" file contains such information, is it safe to alter it from the build scripts or is there any way to integrate my script in Eclipse itself?
Example:
# TestGame.json
{
"name": "TestGame",
"extend": "BASE",
"actions": ["COMPILE", "LINK"],
"CC": [
"G++11"
],
"dep": {
"builds": ["DFResourcer", "DFSDL"],
"libs": ["SDL2", "SDL2main"]
}
}
My build scripts will compile modified files and link them with all the needed files and will find "/home/cpp-projects/DFSDL/include", other paths that must be included and the need for --std=c++11, I want a way to tell Eclipse (not manually) to search for headers also there for autocompletion etc...