commit cdbf91bdc6dc76ef5b92ae5d9d1651d73fa16ca1
parent 208dc0f3a01e00a645bc8af9d53f7af42d6ee300
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date: Sun, 4 Aug 2024 18:02:35 +0200
another attempt to rebuild version every time
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/source/jucePluginLib/CMakeLists.txt b/source/jucePluginLib/CMakeLists.txt
@@ -59,6 +59,7 @@ add_custom_command(
PRE_BUILD
OUTPUT ${CMAKE_CURRENT_LIST_DIR}/_doesnotexist_versionDateTime.h # fake, causes regeneration for every build, exactly what we want
OUTPUT ${CMAKE_CURRENT_LIST_DIR}/versionDateTime.h # valid
+ DEPENDS ${CMAKE_CURRENT_LIST_DIR}/versionDateTime.h.in
COMMAND ${CMAKE_COMMAND} -P "${CMAKE_CURRENT_LIST_DIR}/createVersionDateTime.cmake"
)