diff options
author | Maksim Andrianov <maksimandrianov1@gmail.com> | 2019-05-14 13:30:17 +0300 |
---|---|---|
committer | Maksim Andrianov <maksimandrianov1@gmail.com> | 2019-05-17 12:53:50 +0300 |
commit | bb7a7dc729ab4d3d01f6f0cd0a8060da537ad870 (patch) | |
tree | e1a3ce32f06a8c4104791f209f827ea5ba948514 /CMakeLists.txt | |
parent | 9949124c92d8563aba3f2bca2525f987778171bb (diff) |
[omim][generator] Added generator_tool version.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b364138525..1eae3eb497 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,7 @@ get_filename_component(OMIM_ROOT . ABSOLUTE) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${OMIM_ROOT}/cmake") include(OmimHelpers) +include(BuildVersion) if (CMAKE_SYSTEM_NAME MATCHES "Linux") set(LINUX_DETECTED TRUE) @@ -333,3 +334,10 @@ omim_add_test_subdirectory(qt_tstfrm) if (PLATFORM_ANDROID) add_subdirectory(android/jni) endif() + +add_custom_target(BuildVersion ALL + COMMAND + ${CMAKE_COMMAND} + -DOMIM_ROOT="${OMIM_ROOT}" + -P ${OMIM_ROOT}/cmake/BuildVersion.cmake +) |