mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-14 22:35:49 +00:00
create update helper class
Move old chechUpdates() method to this class. Create ability to show ChangeLog after updates (by using global config with version). Changelog (only for the latest version) will be written to version.h during cmake run.
This commit is contained in:
5
sources/changelog.cmake
Normal file
5
sources/changelog.cmake
Normal file
@ -0,0 +1,5 @@
|
||||
exec_program(
|
||||
"sed -n '1,/^Ver/ p' CHANGELOG | grep -v '^Ver' | tr '\n' '@'"
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/..
|
||||
OUTPUT_VARIABLE PROJECT_CHANGELOG
|
||||
)
|
Reference in New Issue
Block a user