prelim windows source build instructions, considering nmake consolidation
This commit is contained in:
parent
90779db463
commit
bfef1b00be
35
README.md
35
README.md
@ -22,6 +22,7 @@ workdir/
|
||||
├── libssl/
|
||||
├── zlib/
|
||||
├── libssl/
|
||||
└── poomer-discord/
|
||||
```
|
||||
|
||||
### Ubuntu Linux x64 and arm64
|
||||
@ -102,3 +103,37 @@ curl -LO https://raw.githubusercontent.com/nothings/stb/master/stb_image.h
|
||||
curl -LO https://raw.githubusercontent.com/nothings/stb/master/stb_image_write.h
|
||||
make all -j$(sysctl -n hw.ncpu)
|
||||
```
|
||||
|
||||
|
||||
### Windows x64
|
||||
```
|
||||
mkdir workdir && cd workdir
|
||||
mkdir zlib libssl DPP poomer-discord sqlite3
|
||||
cd ..\zlib
|
||||
git clone https://github.com/madler/zlib.git .
|
||||
nmake -f win32/Makefile.msc zlib.lib
|
||||
cd ../libssl
|
||||
|
||||
# Get Perl and Build libssl
|
||||
curl -LO https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/SP_54201_64bit/strawberry-perl-5.42.0.1-64bit-portable.zip
|
||||
git clone https://github.com/openssl/openssl.git .
|
||||
perl\bin\perl.exe Configure VC-WIN64A
|
||||
nmake
|
||||
|
||||
# Build sqlite3
|
||||
curl -LO https://www.sqlite.org/2025/sqlite-autoconf-3510100.tar.gz
|
||||
tar xzf sqlite-autoconf-3510100.tar.gz --strip-components=1
|
||||
nmake /f Makefile.msc sqlite3.exe
|
||||
|
||||
# Build DPP
|
||||
cd ..\DPP
|
||||
git clone https://github.com/brainboxdotcc/DPP.git .
|
||||
cmake -B ./build -DOPENSSL_INCLUDE_DIR="$PWD/../libssl/include" -DOPENSSL_CRYPTO_LIBRARY="$PWD/../libssl/libcrypto.dylib" -DOPENSSL_SSL_LIBRARY="$PWD/../libssl/libssl.dylib" -DCMAKE_PREFIX_PATH="$PWD/../zlib"
|
||||
cmake --build ./build -j4
|
||||
|
||||
# Build poomer-discord
|
||||
cd ../poomer-discord
|
||||
git clone https://git.indoodle.com/oomer/poomer-discord.git .
|
||||
curl -LO https://raw.githubusercontent.com/nothings/stb/master/stb_image.h
|
||||
curl -LO https://raw.githubusercontent.com/nothings/stb/master/stb_image_write.h
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user