Contact | License

# 1043 - Cyclic dependency detected for node '%s'.

Description
A target must not depend on itself. For example, an input must not be the same as an output.
Example
Config:
Exec( 'bad' ) { .ExecExecutable = 'dostuff.exe' .ExecInput = 'file.txt' .ExecOutput = 'file.txt' // Cyclic dependency }
Output:
c:\Test\fbuild.bff(5,1): FASTBuild Error #1043 - Cyclic dependency detected for node 'C:\Test\file.txt'. Exec( 'bad' ) ^ \--here
Fix:
Exec( 'good' ) { .ExecExecutable = 'dostuff.exe' .ExecInput = 'file.txt' .ExecOutput = 'output.txt' }