Commit Graph
8 Commits
Author SHA1 Message Date
Emmanuele Bassi 2432daf4cf Drop unnecessary inclusion of "config.h"
The WGL tests should not include "config.h", since we're trying to test
the use of Epoxy, not its internals.
2017-02-08 17:52:32 +00:00
Emmanuele Bassi 8dead45cb3 Revert all changes since 8bbc0d40
Most of the changes that happened after commit 8bbc0d40 broke epoxy
pretty much irreparably because of the CMake build and the attempt at
making libepoxy a static library that can be copy-pasted into another
project without generating files.

Since all the commits are entangled, and are full of unrelated changes,
we cannot simply do a localized set of reverts; instead, we need to hit
the reset button.

From this point forward, we're going to improve libepoxy's build while
attempting to keep the existing build system working. This may mean
reinstating the CMake build system at a later date.
2016-12-07 14:45:14 +00:00
Yaron Cohen-Tal 44d51f2844 Fix support for a static build of Epoxy. Add support building and running tests with CMake. Add support for linking with the static run-time library with MSVC. 2015-09-03 23:17:39 +03:00
Eric Anholt 7f68641d1b Make headerguards check for double-inclusion of our own headers.
Since I was touching these bits, it was easy enough to make sure that
our header guards work on our own headers.
2014-01-22 01:05:59 -08:00
Eric Anholt d6e4e9ac4c Fix the build of the headerguards test on OS X. 2013-12-11 17:18:28 -08:00
Eric Anholt 0d7d26537d Conditionalize building GLX and EGL tests and headers.
Note that the generated code is still generated, they just aren't
built and installed.  The goal with that is that someone could take
the built .c and .h files and drop it into their own project, if they
want to avoid shared libs.
2013-12-06 15:50:01 -08:00
Eric Anholt 0270c80008 Add support for EGL.
This totally replaces the getprocaddress and dlsym code, which was
basically just stubs up until now.  The is_glx/is_egl() is also
dropped -- they weren't doing anything, and the only false answer they
could give is if the dlopen were to fail.
2013-12-05 12:38:15 -08:00
Eric Anholt 617fd39b5b Add a test for including system GL headers after epoxy. 2013-12-04 16:19:20 -08:00