fix stuff

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@619 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-11-07 17:49:06 +00:00
parent 2e7d96f495
commit af8ba57e19
8 changed files with 114 additions and 22 deletions

View File

@@ -8,14 +8,15 @@ proc run {project_name} {
RunCommand "mv doxygen/html /var/www/milsko-doxygen"
} else {
foreach target {"Linux" "Win32" "Win64"} {
RunCommand "make clean"
RunCommand "make distclean || true"
if { "$target" == "Linux" } {
RunCommand "make -j4 VULKAN_NO_STRING_HELPER=1"
RunCommand "./configure --enable-opengl --enable-vulkan --without-vulkan-string-helper"
} elseif { "$target" == "Win32" } {
RunCommand "make -j4 VULKAN=0 USE_FREETYPE2=0 USE_STB_TRUETYPE=1 TARGET=Windows GCC=i686-w64-mingw32-"
RunCommand "./configure --enable-opengl --enable-stb-truetype --disable-freetype2 --cross CC=i686-w64-mingw32-gcc"
} elseif { "$target" == "Win64" } {
RunCommand "make -j4 VULKAN=0 USE_FREETYPE2=0 USE_STB_TRUETYPE=1 TARGET=Windows GCC=x86_64-w64-mingw32-"
RunCommand "./configure --enable-opengl --enable-stb-truetype --disable-freetype2 --cross CC=x86_64-w64-mingw32-gcc"
}
RunCommand "make -j4"
}
}
}