I have a working CDT template and it adds a file main_file.c to the source directory. Now I need to show project name in capital in the main_file.c, so I tried with its contents as:
//This is $(projectName) project name in capital.
#include<stdio.h>
int main(){
printf("Sample");
return 0;
}
However, this code (as expected) shows project name as it was entered. But I want the project name to be displayed in Capitals, like if user gives test, the file should display TEST.
How can I achieve this?
I found no corresponding eclipse variables for this.
The closest solution would be
OR