awesome-widgets/sources/changelog.cmake
arcan1s 54e1545bb1 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.
2016-02-04 00:02:49 +07:00

6 lines
168 B
CMake

exec_program(
"sed -n '1,/^Ver/ p' CHANGELOG | grep -v '^Ver' | tr '\n' '@'"
${CMAKE_CURRENT_SOURCE_DIR}/..
OUTPUT_VARIABLE PROJECT_CHANGELOG
)