diff options
author | John Ankarström <john@ankarstrom.se> | 2022-08-27 14:50:05 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-08-27 14:57:01 +0200 |
commit | ff566993defe78a705173ab7ba883c19b37c8143 (patch) | |
tree | 93ffecb6fbbdfdd5b9e877295401e3ab16d7bfef /c/CMakeLists.txt | |
parent | a4ebd0354b0bbbe81ea43d2b83fb21dd5a88d3e1 (diff) | |
download | EpisodeBrowser-ff566993defe78a705173ab7ba883c19b37c8143.tar.gz |
Support Debug/Release configurations.
Diffstat (limited to 'c/CMakeLists.txt')
-rw-r--r-- | c/CMakeLists.txt | 4 |
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 |