Detect additional CMake build failures (#2058)

Add include_httplib.cc to the main test executable (already done in
Makefile), and add include_windows_h.cc to the main test executable on
Windows to test if including windows.h conflicts with httplib.h.
This commit is contained in:
Florian Albrechtskirchinger authored and GitHub committed 2025-02-16 15:45:28 -05:00
1 parent 748f47b377
commit 735e5930eb
2 files changed
+7 -1

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
// Test if including windows.h conflicts with httplib.h
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <httplib.h>