mirror of
https://github.com/Lorenzooone/cc3dsfs.git
synced 2026-08-19 23:24:22 -05:00
Add Cross OS compilation
This commit is contained in:
2
setup_scripts/windows_setup_ftd2xx.sh
Normal file
2
setup_scripts/windows_setup_ftd2xx.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
cp ${1}/${3} ${2}
|
||||
cp ${1}/${4} ${2}/ftd2xx.h
|
||||
13
setup_scripts/windows_setup_ftd2xx_dll.bat
Normal file
13
setup_scripts/windows_setup_ftd2xx_dll.bat
Normal file
@@ -0,0 +1,13 @@
|
||||
set "a=%~1"
|
||||
set "b=%~2"
|
||||
set "c=%~3"
|
||||
set "d=%~4"
|
||||
set "e=%~5"
|
||||
set "a=%a:/=\%"
|
||||
set "b=%b:/=\%"
|
||||
set "c=%c:/=\%"
|
||||
set "d=%d:/=\%"
|
||||
set "e=%e:/=\%"
|
||||
copy %a%\%c% %b%\
|
||||
copy %a%\%e% %b%\
|
||||
copy %a%\%d% %b%\ftd2xx.h
|
||||
3
setup_scripts/windows_setup_ftd2xx_dll.sh
Normal file
3
setup_scripts/windows_setup_ftd2xx_dll.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
cp ${1}/${3} ${2}
|
||||
cp ${1}/${5} ${2}
|
||||
cp ${1}/${4} ${2}/ftd2xx.h
|
||||
2
setup_scripts/windows_setup_ftd3xx.sh
Normal file
2
setup_scripts/windows_setup_ftd3xx.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
cp ${1}/${3} ${2}
|
||||
cp ${1}/FTD3XX.h ${2}/ftd3xx.h
|
||||
11
setup_scripts/windows_setup_ftd3xx_dll.bat
Normal file
11
setup_scripts/windows_setup_ftd3xx_dll.bat
Normal file
@@ -0,0 +1,11 @@
|
||||
set "a=%~1"
|
||||
set "b=%~2"
|
||||
set "c=%~3"
|
||||
set "d=%~4"
|
||||
set "a=%a:/=\%"
|
||||
set "b=%b:/=\%"
|
||||
set "c=%c:/=\%"
|
||||
set "d=%d:/=\%"
|
||||
copy %a%\%c% %b%\
|
||||
copy %a%\%d% %b%\
|
||||
copy %a%\FTD3XX.h %b%\ftd3xx.h
|
||||
3
setup_scripts/windows_setup_ftd3xx_dll.sh
Normal file
3
setup_scripts/windows_setup_ftd3xx_dll.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
cp ${1}/${3} ${2}
|
||||
cp ${1}/${4} ${2}
|
||||
cp ${1}/FTD3XX.h ${2}/ftd3xx.h
|
||||
3
setup_scripts/windows_setup_ftd3xx_winusb.sh
Normal file
3
setup_scripts/windows_setup_ftd3xx_winusb.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
unzip ${1}/WU_FTD3XXLib.zip
|
||||
cp ${1}/WU_FTD3XXLib/Lib/${3} ${2}
|
||||
cp ${1}/WU_FTD3XXLib/Lib/*.h ${2}
|
||||
12
setup_scripts/windows_setup_ftd3xx_winusb_dll.bat
Normal file
12
setup_scripts/windows_setup_ftd3xx_winusb_dll.bat
Normal file
@@ -0,0 +1,12 @@
|
||||
set "a=%~1"
|
||||
set "b=%~2"
|
||||
set "c=%~3"
|
||||
set "d=%~4"
|
||||
set "a=%a:/=\%"
|
||||
set "b=%b:/=\%"
|
||||
set "c=%c:/=\%"
|
||||
set "d=%d:/=\%"
|
||||
unzip %a%\WU_FTD3XXLib.zip -d %a%
|
||||
copy %a%\WU_FTD3XXLib\Lib\%c% %b%\
|
||||
copy %a%\WU_FTD3XXLib\Lib\%d% %b%\
|
||||
copy %a%\WU_FTD3XXLib\Lib\FTD3XX.h %b%\ftd3xx.h
|
||||
4
setup_scripts/windows_setup_ftd3xx_winusb_dll.sh
Normal file
4
setup_scripts/windows_setup_ftd3xx_winusb_dll.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
unzip ${1}/WU_FTD3XXLib.zip
|
||||
cp ${1}/WU_FTD3XXLib/Lib/${3} ${2}
|
||||
cp ${1}/WU_FTD3XXLib/Lib/${4} ${2}
|
||||
cp ${1}/WU_FTD3XXLib/Lib/*.h ${2}
|
||||
Reference in New Issue
Block a user