I'd like to add special directive %incpath which will add
include path (like -I switch).
Syntax:
%incpath "C:\foo\"
The question is: should programmer have any way to
exclude path form set? Maybe there should be a state
variable __INCPATH__ which will contain pathes as
string set? And another directive which will replace
current include pathes set with new:
%setpath __INCPATH__ "C:\foo\"
What do you think?
Logged In: YES
user_id=804543
Providing access to the set of include paths
would expose NASM to platform issues; that is
the user might attempt to use forward slashes
when backward slashes are required, and vice
versa. Therefore the recommended solution is
to place the -I option(s) into the environment
variable looked at by NASM, a response file,
a Makefile, a script, etc. -- just like with
any other programming language.