diff options
Diffstat (limited to 'extras/CMakeLists.txt')
| -rw-r--r-- | extras/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/extras/CMakeLists.txt b/extras/CMakeLists.txt new file mode 100644 index 0000000..52fe17c --- /dev/null +++ b/extras/CMakeLists.txt @@ -0,0 +1,9 @@ +# Version +add_executable(version version.cpp) +target_compile_definitions(version PRIVATE + PROJECT_NAME="${PROJECT_NAME}" + VERSION="${VERSION}" + GIT_REVISION="${GIT_REVISION}" + DISTRIBUTOR="${DISTRIBUTOR}" +) +install(TARGETS version DESTINATION ${INSTALL_LIBDIR}) |