diff options
author | lains <lains@caramail.com> | 2019-02-19 10:10:41 +0100 |
---|---|---|
committer | jkoan <jkoan@users.noreply.github.com> | 2019-02-19 10:10:41 +0100 |
commit | ce6ff513a3560da7db4e33af0fa937c6b7b0b12a (patch) | |
tree | 5f386ee601a2a110c29f51d585955f9d09a285ff /CMakeLists.txt | |
parent | e29fd73f2f1e329a6e23fd523eb94aa781b90435 (diff) | |
download | navit-ce6ff513a3560da7db4e33af0fa937c6b7b0b12a.tar.gz |
Add:Gui/Internal: Allowing visual debugging on boxes and tables (#715)
* Adding visual debugging to internal GUI
* Fixing style to comply to ci_sanity_checks
* Allowing to enable GUI_INTERNAL_VISUAL_DBG from cmake variable
* Disabling GUI_INTERNAL_VISUAL_DBG by default, needs to be enabled using -DGUI_INTERNAL_VISUAL_DBG=TRUE arg on cmake
Diffstat (limited to 'CMakeLists.txt')
-rwxr-xr-x | CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 93ed3eb76..96d203ffa 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -516,6 +516,14 @@ add_feature(USE_SVG "default" TRUE) add_feature(SVG2PNG "default" TRUE) add_feature(SAMPLE_MAP "default" TRUE) add_feature(NETWORK_INFO "default" FALSE) +add_feature(GUI_INTERNAL_VISUAL_DBG "default" FALSE) + +if (GUI_INTERNAL_VISUAL_DBG) + list(FIND ALL_MODULES gui/internal GUI_INTERNAL_ENABLED) + if ( ${GUI_INTERNAL_ENABLED} LESS 0 ) + message(WARNING "GUI_INTERNAL_VISUAL_DBG enabled but gui/internal module is not included in compilation") + endif() +endif(GUI_INTERNAL_VISUAL_DBG) IF(NOT svg2png_scaling) IF(NOT ANDROID) |