Skip to content

Dirty old-fashioned cook batch scripts for Windows MSVC building

Notifications You must be signed in to change notification settings

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
  • other cool stuff
    • geographiclib
    • dependencies
    • memcached
    • sslh
    • sdlna
    • sdnspi-mysql
    • verpatch
    • run-hidden
    • mapsforgesrv
    • tzdataservice
    • fit2gpx
    • mobac

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: vs16.bat (v142) or vs17.bat (v143)

    2. Choose your architecture: x64.bat

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

    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.13.0p1 (14.43, 14.29) .vsconfig
🔖 Microsoft Visual C++ Redistributable x64 & x86 14.42.34430
Cygwin x64 3.5.4 cyg64.packagelist
Python x64 3.12.7
OpenJDK x64 23.0.1
Strawberry Perl x64 5.40.0.1
NASM x64 2.16.03
YASM mpir x64 1.3.0
Git x64 2.47.0.2
verpatch x64 1.0.15.1
7z x64 24.08
sigcheck64 x64 2.90
ChkMatch x86 1.0.3
Gradle [java] 8.11
CMake x64 3.31.1
Ninja x64 1.12.1
Meson [python] 1.6.0
NuGet x86 6.11.1

About

Dirty old-fashioned cook batch scripts for Windows MSVC building

Resources

Stars

Watchers

Forks

Packages

No packages published