Update config

This commit is contained in:
Alexander Batalov 2023-02-18 19:06:20 +03:00
parent 249892716e
commit 81b9345303
5 changed files with 2 additions and 13 deletions

View File

@ -284,11 +284,8 @@ if(WIN32)
target_compile_definitions(${EXECUTABLE_NAME} PUBLIC target_compile_definitions(${EXECUTABLE_NAME} PUBLIC
_CRT_SECURE_NO_WARNINGS _CRT_SECURE_NO_WARNINGS
_CRT_NONSTDC_NO_WARNINGS _CRT_NONSTDC_NO_WARNINGS
) NOMINMAX
else() WIN32_LEAN_AND_MEAN
target_compile_definitions(${EXECUTABLE_NAME} PRIVATE
$<$<CONFIG:Debug>:_DEBUG>
$<$<CONFIG:RelWithDebInfo>:_DEBUG>
) )
endif() endif()

View File

@ -1,8 +1,6 @@
#include "autorun.h" #include "autorun.h"
#ifdef _WIN32 #ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#include <windows.h> #include <windows.h>
#endif #endif

View File

@ -2,8 +2,6 @@
#define FILE_FIND_H #define FILE_FIND_H
#if defined(_WIN32) #if defined(_WIN32)
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#include <windows.h> #include <windows.h>
#else #else
#include <dirent.h> #include <dirent.h>

View File

@ -3,8 +3,6 @@
#include <string.h> #include <string.h>
#ifdef _WIN32 #ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#include <windows.h> #include <windows.h>
#endif #endif

View File

@ -2,8 +2,6 @@
#define WIN32_H #define WIN32_H
#ifdef _WIN32 #ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#include <windows.h> #include <windows.h>
#endif #endif