linux chd-rs build, also delete libchdr folder

This commit is contained in:
CasualPokePlayer 2024-05-02 22:23:31 -07:00
parent 6cab4a4f99
commit 64dc72cea5
6 changed files with 0 additions and 27 deletions

3
.gitmodules vendored
View File

@ -77,6 +77,3 @@
path = waterbox/gpgx/Genesis-Plus-GX
url = https://github.com/TASEmulators/Genesis-Plus-GX.git
branch = tasvideos-2.1
[submodule "ExternalProjects/libchdr/libchdr"]
path = ExternalProjects/libchdr/libchdr
url = https://github.com/rtissera/libchdr.git

BIN
Assets/dll/libchd_capi.so Executable file

Binary file not shown.

View File

@ -1 +0,0 @@
build/

View File

@ -1,10 +0,0 @@
rmdir /s /q build
mkdir build
cd build
:: cl must be used as clang fails to compile :(
cmake ..\libchdr -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=cl -G Ninja ^
-DBUILD_LTO=ON -DBUILD_SHARED_LIBS=ON -DINSTALL_STATIC_LIBS=OFF -DWITH_SYSTEM_ZLIB=OFF
ninja
xcopy .\chdr.dll ..\..\..\Assets\dll\ /Y
xcopy .\chdr.dll ..\..\..\output\dll\ /Y
cd ..

View File

@ -1,12 +0,0 @@
#!/bin/sh
set -e
if [ -z "$CC" ]; then export CC="clang"; fi
rm -rf build
mkdir build
cd build
cmake ../libchdr -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=$CC -G Ninja \
-DBUILD_LTO=ON -DBUILD_SHARED_LIBS=ON -DINSTALL_STATIC_LIBS=OFF -DWITH_SYSTEM_ZLIB=OFF
ninja
cp -t ../../../Assets/dll/ ./libchdr.so
cp -t ../../../output/dll/ ./libchdr.so

@ -1 +0,0 @@
Subproject commit 5c598c2df3a7717552a76410d79f5af01ff51b1d