mirror of
https://github.com/Lorenzooone/cc3dsfs.git
synced 2026-08-23 17:14:06 -05:00
Statically link ftd2 library
This commit is contained in:
2
setup_scripts/linux_setup_ftd3xx.sh
Executable file
2
setup_scripts/linux_setup_ftd3xx.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
cp ${1}/${3} ${2}
|
||||
cp ${1}/*.h ${2}
|
||||
12
setup_scripts/macos_bundle_setup.sh
Executable file
12
setup_scripts/macos_bundle_setup.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
framework_change_pos() {
|
||||
install_name_tool -change @rpath/../Frameworks/${2}.framework/Versions/A/${2} @executable_path/../Frameworks/${2}.framework/Versions/A/${2} ${1}
|
||||
}
|
||||
|
||||
framework_change_pos ${1} 'freetype'
|
||||
framework_change_pos ${1} 'OpenAL'
|
||||
framework_change_pos ${1} 'vorbisenc'
|
||||
framework_change_pos ${1} 'vorbisfile'
|
||||
framework_change_pos ${1} 'FLAC'
|
||||
framework_change_pos ${1} 'vorbis'
|
||||
framework_change_pos ${1} 'ogg'
|
||||
|
||||
4
setup_scripts/macos_setup_ftd2xx.sh
Executable file
4
setup_scripts/macos_setup_ftd2xx.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
hdiutil attach ${1}
|
||||
cp ${2}/release/build/${4} ${3}
|
||||
cp ${2}/release/*.h ${3}
|
||||
hdiutil detach ${2} || true
|
||||
4
setup_scripts/macos_setup_ftd3xx.sh
Executable file
4
setup_scripts/macos_setup_ftd3xx.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
hdiutil attach ${1}
|
||||
cp ${2}/${4} ${3}
|
||||
cp ${2}/*.h ${3}
|
||||
hdiutil detach ${2} || true
|
||||
1
setup_scripts/un_quarantine_macos.sh
Executable file
1
setup_scripts/un_quarantine_macos.sh
Executable file
@@ -0,0 +1 @@
|
||||
xattr -d com.apple.quarantine cc3dsfs.app
|
||||
8
setup_scripts/windows_setup_ftd2xx.bat
Executable file
8
setup_scripts/windows_setup_ftd2xx.bat
Executable file
@@ -0,0 +1,8 @@
|
||||
set "a=%~1"
|
||||
set "b=%~2"
|
||||
set "c=%~3"
|
||||
set "a=%a:/=\%"
|
||||
set "b=%b:/=\%"
|
||||
set "c=%c:/=\%"
|
||||
copy %a%\%c% %b%\
|
||||
copy %a%\ftd2xx.h %b%\
|
||||
8
setup_scripts/windows_setup_ftd3xx.bat
Executable file
8
setup_scripts/windows_setup_ftd3xx.bat
Executable file
@@ -0,0 +1,8 @@
|
||||
set "a=%~1"
|
||||
set "b=%~2"
|
||||
set "c=%~3"
|
||||
set "a=%a:/=\%"
|
||||
set "b=%b:/=\%"
|
||||
set "c=%c:/=\%"
|
||||
copy %a%\%c% %b%\
|
||||
copy %a%\FTD3XX.h %b%\
|
||||
Reference in New Issue
Block a user