![]() If so, SDL_revision.h will be updated.Ĭmake/GetGitRevisionDescription.cmake | 284 +++++++++++++++++++++++Ĭmake/ | 43 ++++Ħ files changed, 343 insertions(+), 32 deletions(-)Ĭreate mode 100644 cmake/GetGitRevisionDescription.cmakeĬreate mode 100644 cmake/Äiff -git a/CMakeLists.txt b/CMakeLists. This allows the build system (ninja/make/VS) to detect whether the currentĬheckout git commit has changed. Subject: cmake: generate git hash using GetRevisionDescription CMake ) it creates a file-level dependency between input and output, that is: If the input file is modified the build system will re-run CMake to re-configure the file and generate the build system again. I do not want the copy to occur if the source file has not changed (this appears to be the intended behavior based on the documentation). ![]() ![]() That file contains test data and application open it to read them. It uses CMake to generate Makefiles to build project (or some sort of it) All I need to is transfer some non-project file (some sort of resource file) to binary directory each time when I run the my code. The 'date modified' timestamp for the destination file is updated. 171 I'm trying to create a simple project on CLion. ⢠GLSL texture returns zero after OpenInventor upgrade from 9.8 to 10.4.From f53d797cca0ac903db44236eb62ef2e05573e022 Mon Sep 17 00:00:00 2001 Solution 1 You may consider using configurefile with the COPYONLY option: configure file (
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |