LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

defining macros in cvi complie.exe

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

 

 

0 Kudos
Message 1 of 2
(2,817 Views)

Hi Bill,

 

Yes, there is an option that you can use to define a macro:

 

          compile myproj.prj -D_CONSOLE

 

Luis

0 Kudos
Message 2 of 2
(2,814 Views)