diff options
author | akshay-c | 2019-09-13 12:24:18 +0530 |
---|---|---|
committer | akshay-c | 2019-09-13 12:24:18 +0530 |
commit | 13b6349465e26e8cd015e4153aa8843c706275ec (patch) | |
tree | 73cd7302c00957cb6eae1cacdffb77073556beec /ldmicro/CMakeLists.txt | |
parent | e64d76c057d561e81ad26dcc9acf04f014a855e9 (diff) | |
download | LDmicroQt-13b6349465e26e8cd015e4153aa8843c706275ec.tar.gz LDmicroQt-13b6349465e26e8cd015e4153aa8843c706275ec.tar.bz2 LDmicroQt-13b6349465e26e8cd015e4153aa8843c706275ec.zip |
Patch 1 ToolBar, AnalogSlider Realtime update
Diffstat (limited to 'ldmicro/CMakeLists.txt')
-rw-r--r-- | ldmicro/CMakeLists.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ldmicro/CMakeLists.txt b/ldmicro/CMakeLists.txt index adb0c0f..8f5a5e8 100644 --- a/ldmicro/CMakeLists.txt +++ b/ldmicro/CMakeLists.txt @@ -2,10 +2,11 @@ cmake_minimum_required(VERSION 2.6) project(LDMicro) -## Version control - set (LDMicro_VERSION_MAJOR 2) - set (LDMicro_VERSION_MINOR 2) - set (LDMicro_VERSION_PATCH 0) +file(READ "${CMAKE_CURRENT_SOURCE_DIR}/includes/ldmicroVC.h" VersionRead) + +string(REGEX MATCH "LDMicro_VERSION_MAJOR ([0-9]*)" LDMicro_VERSION_MAJOR ${VersionRead}) +string(REGEX MATCH "LDMicro_VERSION_MINOR ([0-9]*)" LDMicro_VERSION_MINOR ${VersionRead}) +string(REGEX MATCH "LDMicro_VERSION_PATCH ([0-9]*)" LDMicro_VERSION_PATCH ${VersionRead}) macro(use_cxx14) @@ -157,6 +158,7 @@ endif() draw.cpp schematic.cpp helpdialog.cpp + toolbar.cpp ${OBJDIR}/helptext.cpp maincontrols.cpp ldmicro.cpp) |