Skip to content

Generated build info missing if BUILD_DUMMY_GAMELOGIC is changed from 0 to 1 #1599

Open
@slipher

Description

@slipher

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions