~aleteoryx/muditaos

ref: d8786f39c6d2f3752c676efeb2f6e027ec326a0b muditaos/cmake/modules/GenVersionHpp.cmake -rw-r--r-- 355 bytes
d8786f39 — Marcin Zieliński [MOS-839] Fix crashes after a few VoLTE toggles 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
# This script generates the source/version.hpp containing project version
# information. It is meant to be run at build time by running CMake as a target.

list(APPEND CMAKE_MODULE_PATH "${SRC_DIR}/cmake/modules")
include(Version)
configure_file(
    ${SRC_DIR}/source/version.hpp.template
    ${CMAKE_BINARY_DIR}/source/include/product/version.hpp
    )