01-16-2009 10:45 AM
Using CVI 8.5, I'd like to use a little dos BAT file to compile my CVI application, as in complie.exe myproj.prj
However, I also need to optionally add a macro to the comple (specifically _CONSOLE).
I don't see any command line argument options to compile.exe to add a macro when I call compile.exe.
Anyone know of a way to do this?
Thanks
01-16-2009 11:33 AM
Hi Bill,
Yes, there is an option that you can use to define a macro:
compile myproj.prj -D_CONSOLE
Luis