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