mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +01:00
[meta] Don't install d3d10 and d3d10_1 by default
This commit is contained in:
parent
7a134e49be
commit
c1627a1b57
@ -17,7 +17,7 @@ uninstall)
|
|||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unrecognized action: $action"
|
echo "Unrecognized action: $action"
|
||||||
echo "Usage: $0 [install|uninstall] [--without-dxgi] [--symlink]"
|
echo "Usage: $0 [install|uninstall] [--without-dxgi] [--with-d3d10] [--symlink]"
|
||||||
exit 1
|
exit 1
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -25,6 +25,7 @@ esac
|
|||||||
shift
|
shift
|
||||||
|
|
||||||
with_dxgi=true
|
with_dxgi=true
|
||||||
|
with_d3d10=false
|
||||||
file_cmd="cp -v"
|
file_cmd="cp -v"
|
||||||
|
|
||||||
while (($# > 0)); do
|
while (($# > 0)); do
|
||||||
@ -32,6 +33,9 @@ while (($# > 0)); do
|
|||||||
"--without-dxgi")
|
"--without-dxgi")
|
||||||
with_dxgi=false
|
with_dxgi=false
|
||||||
;;
|
;;
|
||||||
|
"--with-d3d10")
|
||||||
|
with_d3d10=true
|
||||||
|
;;
|
||||||
"--symlink")
|
"--symlink")
|
||||||
file_cmd="ln -s -v"
|
file_cmd="ln -s -v"
|
||||||
;;
|
;;
|
||||||
@ -197,7 +201,11 @@ if $with_dxgi || [ "$action" == "uninstall" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
$action d3d9
|
$action d3d9
|
||||||
$action d3d10
|
|
||||||
$action d3d10_1
|
if $with_d3d10 || [ "$action" == "uninstall" ]; then
|
||||||
|
$action d3d10
|
||||||
|
$action d3d10_1
|
||||||
|
fi
|
||||||
|
|
||||||
$action d3d10core
|
$action d3d10core
|
||||||
$action d3d11
|
$action d3d11
|
||||||
|
Loading…
x
Reference in New Issue
Block a user