[PATCH vkd3d 4/5] build: Make it possible to disable building the demos.

Chip Davis cdavis at codeweavers.com
Tue Aug 7 14:16:47 CDT 2018


August 7, 2018 1:42 PM, "Henri Verbeet" <hverbeet at gmail.com> wrote:

> On 4 August 2018 at 01:42, Chip Davis <cdavis at codeweavers.com> wrote:
> 
>> diff --git a/configure.ac b/configure.ac
>> index 2773a15..7c2a560 100644
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -86,6 +86,18 @@ AS_IF([test "x$with_spirv_tools" = "xyes"],
>> HAVE_SPIRV_TOOLS=yes])])
>> 
>> PKG_CHECK_MODULES([XCB], [xcb xcb-keysyms])
>> +case $host_os in
>> + darwin*|macosx*)
>> + enable_demos_default=no
>> + ;;
>> + *)
>> + enable_demos_default=yes
>> + ;;
>> +esac
>> +
>> +AC_ARG_ENABLE([demos], AS_HELP_STRING([--enable-demos], [Build demo programs]),,
>> + [enable_demos=$enable_demos_default])
>> +AM_CONDITIONAL(BUILD_DEMOS, [test "x$enable_demos" != "xno"])
> 
> The way I'd imagine this working would be to enable the demos if we
> have XCB, unless they've explicitly been disabled.
I think we only want to enable them if we found XCB, *and* there's a Vulkan ICD that supports it.

Chip



More information about the wine-devel mailing list