Closed ujos closed 3 hours ago
Looks like it is the issue on the GNU Make side, not SBEPP
I never thought about this but I'd expect that make
(or any other build system) should trigger rebuild if prev_timestamp != current_timestamp
, it would be a surprise if it checks if it's greater/lower. You can try to test if ninja
behaves in the same way.
I have a CMakeLists.txt file with the following content:
On our build server GIT is configured to update the file timestamp to the timestamp of the commit. So the timestamps can increase and decrease.
The problem is that SBEPP C++ Parser Generator does not regenerate the C++ code if timestamp of the SBE XML Schema file is decreased.
How to reproduce the issue:
Expected: the C++ code is regenerated In fact: Either CMake or SBEPP Generator do not regenerate the C++ code