You now can optimize subVI calls and inline subVIs into callers, which can eliminate overhead and increase code optimization.
For your target to support VI-specific code generation options, you must call LEP_Utilities_GetProjectVISettings.vi, located in the labview\vi.lib\Platform\EmbProject\utilities directory, from LEP_x_CGen.vi, which is located in your target directory. LEP_Utilities_GetProjectVISettings.vi builds a list of all VIs and related code generation settings in a project, which becomes an attribute to the variant that determines how the LabVIEW C Code Generator generates the C code from the block diagram.
To set code generation options for a VI, select File»VI Properties from the front panel window or block diagram window to open the VI Properties dialog box. Select C Code Generation Options from the Category pull-down menu. You can select From project, True, or False. Select True to enable the option and False to disable it. The default is From project, so you only need to set the options in VI Properties if you want to override the code generation settings in the project.