This is an old revision of the document!
Table of Contents
42 Build Specs
For more details, see https://zone.ni.com/reference/en-XX/help/371361R-01/lvconcepts/building_standaloneapps/
A build specification contains all the settings for a LabVIEW build, such as files to include, directories to create, and settings for VIs. The following items can be built using the Application Builder:
-
Stand-alone application
-
Installers
-
.NET interop assemblies
-
Packages
-
Packed libraries
-
Shared libraries
-
Source distributions
-
Web services
-
Zip files
Source Distribution
Preserve Disc Hierarchy
The builder will not create an empty directory, it only counts files as contents and ignores folders.
Source:
source/ParentFolder/ChildFolder/file1.ext source/ParentFolder/ChildFolder/file2.ext
Build Result:
builds/ParentFolder/file1.ext builds/ParentFolder/file2.ext
Destination Directory
The destination directory of a build specification can only be defined by the user as an absolute path. However, internally it can be handled as a relative path in the project file. Under certain circumstances the property <Property Name=“Bld_localDestDirType” Type=“Str”>relativeToCommon</Property>
is added to the .lvproj file. In that case, when building the build specification, the directory will be created at the same relative position to the project file.
-
relative path: destination directoy is not more than one level above the project file, at the same level or under
-
absolute path: destination directory is more than one level above the project file
In general, it is recommended to use relative paths, to ensure, that e.g. on a build server or on other developers machines, the build results will be created at the correct place.
When defining your destination directory, keep it max. one level above the .lvproj file in your folder structure!