[Piglit] [PATCH 05/13] cmake: Support CMakeLists.gles3.txt

Eric Anholt eric at anholt.net
Wed Nov 28 12:32:39 PST 2012


Chad Versace <chad.versace at linux.intel.com> writes:

> Add "gles3" as a new api in PIGLIT_TOP/cmake/target_api. Now, you can
> build GLES3 tests and libraries by placing the build rules in files named
> CMakeLists.gles3.txt.
>
> I dislike the CMake hackery of havining multiple builds for each target
> api. But, because GLES2 and GLES3 use different headers (gl2.h vs
> gl3.h), until piglit-dispatch gains support for GLES the most sensible way
> to add GLES3 support to piglit is to continue the tradition of adding
> a new target api into PIGLIT_TOP/cmake/target_api.

More per-api makefiles? D:

What if the APIs were separated by subdirectories?  It's not like we've
got GLES tests under tests/spec/glsl-1.30.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20121128/edb3c2de/attachment.pgp>


More information about the Piglit mailing list