Open
Description
If in an already existing Daemon build directory I configure cmake . -DBUILD_DUMMY_GAMELOGIC=1
, the build breaks with this message:
CMake Error at cmake/DaemonGame.cmake:117 (add_library):
Cannot find source file:
C:/lang/msys64/home/meh/daemonb32/GeneratedSource/DaemonBuildInfo/Game.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm
.ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90
.f95 .f03 .hip .ispc
Call Stack (most recent call first):
src/dummygame/CMakeLists.txt:3 (GAMEMODULE)
CMakeLists.txt:1073 (include)
It doesn't happen if -DBUILD_DUMMY_GAMELOGIC=1
is passed the first time CMake is invoked.
I wish generating gamelogic build info would be optional (configured by gamelogic's build) because dummy gamelogic doesn't use that.