[cmake] refactor configuration

* Split common stuff to reusable files
* Disable INTERPROCEDURAL_OPTIMIZATION for SDL2/3 resource targets
This commit is contained in:
akallabeth
2024-11-12 09:36:25 +01:00
parent 2bb75c195b
commit 0ae7c4b52d
19 changed files with 181 additions and 277 deletions

View File

@@ -27,7 +27,9 @@
* Standard Clipboard Formats
*/
#ifndef _WIN32
#ifdef _WIN32
#include <winuser.h>
#else
#define MB_OK 0x00000000L
#define MB_OKCANCEL 0x00000001L