To build an application from the CLI, use the following syntax:
labviewnxg.cli build-application -p <relative or absolute location of the project> -n <name of the application> -t <SystemDesigner target containing the application> -s
labviewnxg.cli build-application -p "C:\LabVIEW Projects\Project.lvproject" -n "Application.gcomp" -t "PXI Controller" -s
|Yes||Specifies the relative or absolute path of the project containing the application to build.|
|Yes||Specifies the name of the application to build.|
|This argument is required if the project contains SystemDesigner targets.||Specifies the SystemDesigner target that contains the application to build.
You can view supported targets by opening the application in the editor and clicking the Select target drop down.
|No||Saves the application and project file after building.
Use this argument when you select Auto-increment version on build in the application.