Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GCC Include as Macro Expansion
#1
HI Gerald,


I want to do macro expansion using gcc inside Embitz.

You have custom tool that are very useful for that, but there is a missing variables that I need to do the job, and it is not known to me and it is not define in the list.

in the command below
 
GCC -I <directory_1> -I  <directory_2> <directory_etc> -E file.c

I need the variables to list all include directory for the macro expansion to occur.

Something like ${PROJECT_INCLUDE_DIRECTORY}

Pretty sure it exist!!

Thank you, hope you can help


Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
GCC Include as Macro Expansion - by Aroyer - 19-04-2023, 09:17 PM
RE: Macro Expansion - by embitz - 20-04-2023, 07:11 PM
RE: Macro Expansion - by Aroyer - 21-04-2023, 02:28 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)