[MSPAINT][EXPLORER][SHELL32] Enable ATL asserts in CMake

CORE-17505

In MSVC builds they would not work reliably when enabled in the precompiled header
This commit is contained in:
Mark Jansen 2022-09-10 17:27:50 +02:00
parent 86addae3cc
commit 55343f04b0
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B
7 changed files with 16 additions and 12 deletions

View file

@ -1,5 +1,9 @@
PROJECT(SHELL)
if(DBG)
add_definitions(-D_DEBUG=1) # CORE-17505
endif()
list(APPEND SOURCE
appbar.cpp
desktop.cpp

View file

@ -9,10 +9,6 @@
#define WIN7_COMPAT_MODE 1
#endif
#if DBG && !defined(_DEBUG)
#define _DEBUG // CORE-17505
#endif
#include <stdio.h>
#include <tchar.h>