From 6ae7e24675cff4ff6b808c3024f45083f35ced97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sat, 3 Sep 2022 15:28:56 +0200 Subject: Improve error handling. --- c/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'c/CMakeLists.txt') diff --git a/c/CMakeLists.txt b/c/CMakeLists.txt index 0c8bb83..ccf8812 100644 --- a/c/CMakeLists.txt +++ b/c/CMakeLists.txt @@ -9,7 +9,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED True) add_compile_definitions(UNICODE _UNICODE) if(NOT CMAKE_CONFIGURATION_TYPES MATCHES "Release") - add_compile_definitions(_DEBUG) + add_compile_definitions(_DEBUG NDEBUG) endif() add_executable(EpisodeBrowser WIN32) @@ -24,6 +24,8 @@ target_sources(EpisodeBrowser PRIVATE drag.h episodelistview.cpp episodelistview.h + err.cpp + err.h ext.cpp ext.h listview.cpp -- cgit v1.2.3