diff options
author | Dimitri Staessens <dimitri.staessens@ugent.be> | 2018-01-10 16:06:18 +0100 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2018-01-10 18:38:30 +0100 |
commit | d22606dc078bbd618d2563a552a62cd4f46ac682 (patch) | |
tree | f3535e2de293c7f5f8f21ae44d2a0537ee941157 /include/ouroboros/CMakeLists.txt | |
parent | b71c2cc9938eee649d6b4a787d4c4bebe849d6e9 (diff) | |
download | ouroboros-d9d29192b6742713eb290b8c399bdf97db1c99c7.tar.gz ouroboros-d9d29192b6742713eb290b8c399bdf97db1c99c7.zip |
include: Add version header0.9.0
This moves the version definition for Ouroboros into its own header
file, which is generated by CMake and installed on the system.
Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be>
Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'include/ouroboros/CMakeLists.txt')
-rw-r--r-- | include/ouroboros/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/ouroboros/CMakeLists.txt b/include/ouroboros/CMakeLists.txt index e94d5c6c..d3b6e847 100644 --- a/include/ouroboros/CMakeLists.txt +++ b/include/ouroboros/CMakeLists.txt @@ -1,3 +1,6 @@ +configure_file("${CMAKE_CURRENT_SOURCE_DIR}/version.h.in" + "${CMAKE_CURRENT_BINARY_DIR}/version.h" @ONLY) + set(HEADER_FILES cacep.h cdefs.h @@ -8,7 +11,9 @@ set(HEADER_FILES ipcp.h irm.h proto.h - qos.h) + qos.h + ${CMAKE_CURRENT_BINARY_DIR}/version.h + ) install(FILES ${HEADER_FILES} DESTINATION usr/include/ouroboros) |