From ccfa5eeeb30df59499665880deb79f88e0b119bb Mon Sep 17 00:00:00 2001 From: Mike Nolan Date: Wed, 27 May 2026 03:26:54 -0500 Subject: [PATCH] Overhaul cmake configuration, add console api, fix http code that caused issues with cgi-bin --- Packaging/WinToolsIntel/x86.cmake | 7 +++++++ Packaging/WinToolsIntel/x86_64.cmake | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 Packaging/WinToolsIntel/x86.cmake create mode 100644 Packaging/WinToolsIntel/x86_64.cmake diff --git a/Packaging/WinToolsIntel/x86.cmake b/Packaging/WinToolsIntel/x86.cmake new file mode 100644 index 0000000..86d52ca --- /dev/null +++ b/Packaging/WinToolsIntel/x86.cmake @@ -0,0 +1,7 @@ +set(CMAKE_C_COMPILER "/usr/bin/i686-w64-mingw32-gcc") +set(CMAKE_CXX_COMPILER "/usr/bin/i686-w64-mingw32-g++") +set(CMAKE_C_FLAGS "-static-libgcc -static-libstdc++ -static") +set(CMAKE_CXX_FLAGS "-static-libgcc -static-libstdc++ -static") +set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++ -static") +set(CMAKE_SYSTEM_NAME Windows) +set(CMAKE_SYSTEM_PROCESSOR i686) \ No newline at end of file diff --git a/Packaging/WinToolsIntel/x86_64.cmake b/Packaging/WinToolsIntel/x86_64.cmake new file mode 100644 index 0000000..1d7cc26 --- /dev/null +++ b/Packaging/WinToolsIntel/x86_64.cmake @@ -0,0 +1,7 @@ +set(CMAKE_C_COMPILER "/usr/bin/x86_64-w64-mingw32-gcc") +set(CMAKE_CXX_COMPILER "/usr/bin/x86_64-w64-mingw32-g++") +set(CMAKE_C_FLAGS "-static-libgcc -static-libstdc++ -static") +set(CMAKE_CXX_FLAGS "-static-libgcc -static-libstdc++ -static") +set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++ -static") +set(CMAKE_SYSTEM_NAME Windows) +set(CMAKE_SYSTEM_PROCESSOR x86_64) \ No newline at end of file