Add Windows support and clean up toolchain #10

Merged
harraiken merged 39 commits from multiplatform into master 2025-07-10 12:37:42 +02:00
Showing only changes of commit bc85522143 - Show all commits

View File

@ -18,6 +18,7 @@ GENERIC="generic-w64-mingw32"
# Default Configuration
BUILD_JOBS=0
BUILD_MINIMAL=0
CLEAN_BUILD=0
ENABLE_LLVM_ASSEMBLY=0
LLVM_DYNAMIC_LINK=ON
@ -286,7 +287,7 @@ prepare_environment()
# Prints usage help
print_usage()
{
echo "USAGE: ${0} [--clean] [--enable-llvm-assembly] [--jobs=N] [--static-llvm] [--target={linux,windows}]"
echo "USAGE: ${0} [--clean] [--enable-llvm-assembly] [--jobs=N] [--minimal] [--static-llvm] [--target={linux,windows}]"
exit 1
}
@ -392,6 +393,9 @@ while [ $# -gt 0 ]; do
# Sets number of CPU cores used for compilation
BUILD_JOBS="${1#*=}"
;;
--minimal)
BUILD_MINIMAL=1
;;
--static-llvm)
# Compiles LLVM statically
LLVM_DYNAMIC_LINK=OFF