Skip to content

nono303/win-build-scripts

Repository files navigation

Dirty old-fashioned cook batch scripts for Windows MSVC building

  • Apache httpd and its deps
  • Apache subversion and its deps
  • PHP and most of its deps (others come from php-sdk prebuild deps)
  • memcached
  • other stuff or tools...

This tool-chain is the result of... many years of “evolution” ^^

I've done some job to make them readable, quite usable and contextualized but this is more for offering ideas to those who want to self-made some of these stuffs.

I'll answer if detail needed and all feedback that may improve them will be appreciate

Note, that the goal is to have quick pseudo-automated build for testing use I voluntary disable testing, man & co. in the “pipeline” to speed up it, but always launch manual testing build for new version before start cooking ;)

HOW-TO

  1. Install requirements

  2. copy env_sample.bat to env.bat and fill your paths according to requirements install path

  3. launch simple command prompt in check-outed directory

  4. init

    1. Choose your toolset version: vc15.bat or vs16.bator vs17.bat

    2. Choose your architecture: x86.bat or x64.bat

    3. Choose your CPU instruction level: avx.bat 0 or avx.bat 1 (0 mean SSE2)

    4. Disable or Enable QUIC (HTTP3) support: quic.bat 0 or quic.bat 1

      shortcut example: C:\Windows\System32\cmd.exe /k vs16 && x64 && avx 1 && quic 1

    5. go srccreate to clone and checkout all src

  5. go help for usage and... Enjoy!

REQUIREMENTS

soft arch version /config
Visual Studio 2022 Community 17.10.0p4 (14.39, 14.29, 14.16) .vsconfig
Cygwin x86 3.3.6 cyg32.packagelist
Cygwin x64 3.5.3 cyg64.packagelist
Python x64 3.12.3
OpenJDK x64 21.0.2
Strawberry Perl x64 5.38.2.2
NASM x64 2.16.03
YASM mpir x64 1.3.0
Git x64 2.44.0
verpatch x64 1.0.15.1
7z x64 24.04
sigcheck64 x64 2.90
ChkMatch x86 1.0.3
Gradle [java] 8.7
CMake x64 3.29.2
Ninja x64 1.12.0
Meson [python] 1.4.0
NuGet x86 6.9.1

About

Dirty old-fashioned cook batch scripts for Windows MSVC building

Resources

Stars

Watchers

Forks

Packages

No packages published