Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
slipher opened this issue Mar 14, 2025 · 0 comments
Open

Comments

@slipher
Copy link
Member

slipher commented Mar 14, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant