The following Tundra files give an error when trying to compile them (no source file is included, it's the DAG generation that fails):
...obj set to be written by more than one target
I've tested this on Windows 7 with VS2013, but suspect it will happen on all platforms. The key point triggering this error is the '..' in SourceDir, without that it works as expected.
The reason I have this is that I have my project laid out like this, wanting to keep the root folder clear of files that aren't immediately needed (note that I usually invoke 'tundra2.exe --working-dir=projects' from the top level to build only part of the projects):
The following Tundra files give an error when trying to compile them (no source file is included, it's the DAG generation that fails):
...obj set to be written by more than one target
I've tested this on Windows 7 with VS2013, but suspect it will happen on all platforms. The key point triggering this error is the '..' in SourceDir, without that it works as expected.
The reason I have this is that I have my project laid out like this, wanting to keep the root folder clear of files that aren't immediately needed (note that I usually invoke 'tundra2.exe --working-dir=projects' from the top level to build only part of the projects):
|- build-output |- data |- include | |- header.hpp |- samples |- source | |- main.cpp | |- log.cpp |- projects | |- tundra.lua | |- units.lua |- tools |- build_all.py |- license.txt
tundra.txt units.txt