Updating Windows build to install prerequisites automatically (1-click setup/build except in that it requires you to restart your computer).
File Changes:
Adds:
build/build_windows.bat - sets permissions for build and executes the other scripts
build/windows/choco_prereqs.ps1 - installs chocolatey and then installs all of the prerequisite software to build NCPA 3 - Note: not all of these prerequisites may be necessary anymore as I believe strawberry perl and the visual studio stuff was just for the OSSL/Python build
build/build_windows.bat still has a bunch of comments from the version where I was building OpenSSL/Python to get python to include OpenSSL 3 (No longer necessary as Python 3.11+ (and maybe soon 3.8-3.10) now builds with OSSL 3 by default). I haven't removed them in case some of that functionality is wanted at some point (though the necessary files to build OSSL/Python aren't there and they should probably be removed)
NOTE: https://github.com/NagiosEnterprises/ncpa/pull/995 is pointing to this branch, so make sure that is merged before merging this
Updating Windows build to install prerequisites automatically (1-click setup/build except in that it requires you to restart your computer).
File Changes:
Adds:
build/build_windows.bat
- sets permissions for build and executes the other scriptsbuild/windows/choco_prereqs.ps1
- installs chocolatey and then installs all of the prerequisite software to build NCPA 3 - Note: not all of these prerequisites may be necessary anymore as I believe strawberry perl and the visual studio stuff was just for the OSSL/Python buildMoves:
build/build_windows.py
->build/windows/build_ncpa.py
Fixes:
New Build Functionality:
build/build_windows.bat
executesbuild/windows/choco_prereqs.ps1
build/windows/build_ncpa.py
build/build_windows.bat
still has a bunch of comments from the version where I was building OpenSSL/Python to get python to include OpenSSL 3 (No longer necessary as Python 3.11+ (and maybe soon 3.8-3.10) now builds with OSSL 3 by default). I haven't removed them in case some of that functionality is wanted at some point (though the necessary files to build OSSL/Python aren't there and they should probably be removed)