Community
Participate
Working Groups
Build Identifier: Version: 3.5.2 Build id: M20100211-1343 the CDT builder is not able to recognize the build variables. I create a build variable "PROJECT_BUILD" and using the same in my make file. The same effect, even if i set the variable using C/C++ Build / Environment. It works only if the variable is set within my terminal shell and launch the eclipse. Please help. Reproducible: Always Steps to Reproduce: 1. I have created a makefile based C/C++ project. 2. In the properties of the project, I created a new build variable (from "C/C++ Build->Build Variables") called "PROJECT_BUILD", of type String with a value "/home/rvnath/workspace/CPLT_/build. 3. I am referencing this variable in my Makefile as below... include $(PROJECT_BUILD)/path.mk 4. But when the build starts, the variable is found to be empty, so it gives me a compiler error saying /path.mk is not found. 5. It only works, when i explicitly export this variable in my terminal and then launch Eclipse from that terminal. Please suggest, if I am missing something here..
Created attachment 178898 [details] shows the build setting created by me.
Created attachment 178899 [details] shows the compiler output, indicating non-recognition of the build variable