aboutsummaryrefslogtreecommitdiff
path: root/c
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-27 14:50:05 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-27 14:57:01 +0200
commitff566993defe78a705173ab7ba883c19b37c8143 (patch)
tree93ffecb6fbbdfdd5b9e877295401e3ab16d7bfef /c
parenta4ebd0354b0bbbe81ea43d2b83fb21dd5a88d3e1 (diff)
downloadEpisodeBrowser-ff566993defe78a705173ab7ba883c19b37c8143.tar.gz
Support Debug/Release configurations.
Diffstat (limited to 'c')
-rw-r--r--c/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/c/CMakeLists.txt b/c/CMakeLists.txt
index 1bfcac3..b3a1671 100644
--- a/c/CMakeLists.txt
+++ b/c/CMakeLists.txt
@@ -8,6 +8,10 @@ set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)
add_compile_definitions(UNICODE _UNICODE)
+if(NOT CMAKE_CONFIGURATION_TYPES MATCHES "Release")
+ add_compile_definitions(_DEBUG)
+endif()
+
add_executable(EpisodeBrowser WIN32)
target_sources(EpisodeBrowser PRIVATE
data.cpp