System Information
Please provide the following information about your system:
Steam Audio version: 4.5.3
Operating System and version: Windows 10 22H2, macOS 14
Issue Description
When using SteamAudio as a subdirectory, CMake redundantly re-configures because something is marking core/src/core/CMakeLists.txt as changed even though I have made no edits to it. It only happens with this specific file.
CMake is re-running because [...]/steam-audio/core/src/core/CMakeFiles/generate.stamp is out-of-date.
1> the file '[...]/steam-audio/core/src/core/CMakeLists.txt'
1> is newer than '[build_dir]/steam-audio/core/src/core/CMakeFiles/generate.stamp.depend'
Steps To Reproduce
Place the files listed below and steam-audio in a directory next to each other.
Use CMake to generate a build system (VS, Xcode, ninja, doesn't seem to matter)
Build the test target
Wait some time without modifying any files in the sample. Closing and re-opening Xcode or Visual Studio sometimes expedites this. It can vary from a few minutes to a whole day. I haven't figured out what is triggering this.
Build the test target again. CMake will trigger a reconfigure.
CMakeLists.txt:
project(reconfigure-bug)
add_subdirectory(steam-audio/core EXCLUDE_FROM_ALL)
add_executable(test main.cpp)
target_link_libraries(test PUBLIC phonon)
System Information Please provide the following information about your system:
Issue Description When using SteamAudio as a subdirectory, CMake redundantly re-configures because something is marking
core/src/core/CMakeLists.txt
as changed even though I have made no edits to it. It only happens with this specific file.Steps To Reproduce
steam-audio
in a directory next to each other.test
targettest
target again. CMake will trigger a reconfigure.CMakeLists.txt:
main.cpp
If you are able to provide a minimal project or minimal source code that reproduces the issue, include a link to the project/code here.