LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Specify where panel .h header files are generated when .uir is edited?

My LabWindows 2017 project has hundreds of files so recently I tried to organize them into subdirectories such as:

 

/src -- .c source files

/inc -- include files

/uir -- user interface .uir files

 

LabWindows built with no changes (I expected I'd have to specify the search locations for include files, like with Eclipse and such).

 

But, today I realize any time I edit a .uir panel, it creates a brand new .h file in the /uir folder where the panel is.

 

Is there any project setting in CVI 2017 that would let me tell it where to write the generated header files?

 

Thanks, much.

0 Kudos
Message 1 of 3
(2,098 Views)

No luck! There is no way to have CVI save the include file associated with the .UIR in a folder other that the .UIR folder!

On the other hand, that include files serve only to compile the project and you'll very rarely or never open them for anything...



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 3
(2,068 Views)

I ended up making a Build Step that would copy them into my /inc folder... Not the best approach, since if someone edited a UIR and then checked the file back in without doing a build first, it would not be checking in the new file.

 

I expect I will go with having Panel .uir files and their related .h files in the same folder, and let my /inc be just for the ones we created.  (Auto-generated versus programmer generated, I suppose.)

 

Thanks...

0 Kudos
Message 3 of 3
(2,051 Views)