Getting Eclipse CDT to use relative include paths in generated Makefiles

前端 未结 4 784
难免孤独
难免孤独 2020-12-17 16:56

I am using the Eclipse CDT. I have configured the \"external Builder\" and I am generating the Makefiles automatically. Unfortunately, the generated Makefiles contain the ab

4条回答
  •  猫巷女王i
    2020-12-17 17:26

    The relative paths you add in "Project > Properties > C/C++ General > Paths and Symbols > Includes" tab are relative to your project folder.

    The ones that appear in the generated makefiles are relative to the main Makefile location.

提交回复
热议问题