1006 - Nothing defined to be built.
Description
A target was configured, but no inputs (or rules to find inputs) were provided. This Function can therefore
never result in any useful build output.
Example
Config:
ObjectList( 'lib' )
{
.Compiler = 'cl.exe'
.CompilerOutputPath = 'tmp/'
.CompilerOptions = '%1 %2'
// No inputs are specified for this library
}
Output:
c:\Test\fbuild.bff(1):(1) FASTBuild Error #1006 - Library() - Nothing defined to be built.
Library( 'lib' )
^
\--here
Fix:
ObjectList( 'lib' )
{
.Compiler = 'cl.exe'
.CompilerOutputPath = 'tmp/'
.CompilerOptions = '%1 %2'
.CompilerInputPath = 'src/' // A valid input was provided
}