[Mesa-dev] [PATCH 1/2] mesa: support internalFormat=GL_BGRA in TexImage2D
jfonseca at vmware.com
Tue Jan 25 06:49:19 PST 2011
On Sat, 2011-01-22 at 19:18 -0800, Chad Versace wrote:
> On Sat, Jan 22, 2011 at 17:46, Ian Romanick <idr at freedesktop.org> wrote:
> > What I want is a way with cmake to build files twice. The first time
> > will be in the existing way. The second time will compile with
> > - -DUSE_OPENGL_ES and will generate a .o file with a different name.
> > I don't know cmake well enough to do that, and I keep forgetting to ask
> > Chad.
> I have done just that with cmake recently; that is, building an
> executable twice, once using GL and again with GLES2. When Monday
> arrives, I'll take a look at how to best coerce Piglit to do this.
It looks you already know a better way, but just in case, a
straightforward way to do this is using out-of-source builds, one runs
configures cmake with two seperate build directories (e.g., build/gl,
build/gles) enabling GLES on the latter, and then its simply a matter of
make -C build/gl
make -C build/gles
More information about the mesa-dev