I'm confused on how the Custom Constants, in Compiler Options is supposed to work.. It seems like you can type a name for the constant into the text field, then hit "add", but it seems you can't predefine a value?
I want to designate a folder as an "include" repository, and store all my includes there.. Using a Constant for the path name, so I don't have to remember/define the entire path in every project/file I create..
Desired behavior might look like...
Code: Select all
XIncludeFile "#IncludePath\file.ext"
Now I discovered the "Include Path" function to do this in a source file...but I was wondering if there is an option anywhere in the editor/compiler/project settings to have it automatically set, or alternatively if there are template options for new files we can use, so the code will be generated automatically when creating a file..