From da35e06f4a002d4f7bd11437d3f8c700e041617e 2018-09-06 13:01:46 From: Alexis Jeandet Date: 2018-09-06 13:01:46 Subject: [PATCH] Added debugging helpers and force -O0 for debug builds Signed-off-by: Alexis Jeandet --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 517ac18..18e2625 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,6 +30,7 @@ endif() if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE "Release" CACHE STRING "" FORCE) endif() +set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O0") find_package(Qt5 COMPONENTS Core Widgets Network PrintSupport Svg Test REQUIRED) @@ -60,4 +61,4 @@ endif() add_subdirectory(gui) add_subdirectory(app) add_subdirectory(plugins) -add_subdirectory(docs) +#add_subdirectory(docs) diff --git a/core b/core index 6b6270b..8f50e90 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 6b6270b07547ddc94a57ecd2cdb54784412c1081 +Subproject commit 8f50e908dd3175c425d6f3fd1d8cb2f552cff3f9 diff --git a/qtc-helpers.py b/qtc-helpers.py new file mode 100644 index 0000000..61359cc --- /dev/null +++ b/qtc-helpers.py @@ -0,0 +1,5 @@ +#!/usr/bin/env python3 +import sys +import os +sys.path.append(os.path.dirname(__file__)+'/core/DebugHelpers') +from datetimerange import * \ No newline at end of file