aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2012-05-23cmake: Bump version to 0.3.1Chad Versace
Bump soversion 2.0.0 -> 2.1.0. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2012-05-23cmake: Bump version to 0.3Chad Versace
Bump soversion to 2.0.0. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2012-05-17cmake,examples: Re-enable waffle_build_examplesChad Versace
The waffle_build_examples was forced off while the API was rapidly changing. Now that the API is more stable, and examples/gl_basic has been fixed, allow the user to enable waffle_build_examples. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2012-05-17cmake,examples: Disable examples until API becomes stableChad Versace
The API will begin rapidly changing now, in an attempt to quickly reach the stable API that Piglit will use. Until the API becomes stable, disable the building of examples. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2012-04-11cmake: Bump version to 0.2waffle-0.2v0.2.0Chad Versace
Bump soversion 0.0.0 -> 1.0.0. Age drops to 0 because WAFFLE_DONT_CARE has changed value. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2012-04-11cmake: Add wayland supportChad Versace
Add cach option `waffle_has_wayland`. If set, then - Define macro WAFFLE_HAS_WAYLAND. - Require libwayland-client and libwayland-egl. - Link them into libwaffle. No wayland sources are compiled yet. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2012-04-11cmake: Add glx supportChad Versace
Add cach option `waffle_has_glx`. If set, then - Define macro WAFFLE_HAS_GLX. - Require libGL. - Link it into libwaffle. No glx sources exist yet. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2012-04-09cmake: Bump version to 0.1waffle-0.1v0.1.0Chad Versace
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2012-04-09cmake: Move def of library version to top CMakeListsChad Versace
Now, the release version and the library version are defined alongside each other. This should prevent someone from updating one and forgetting the other. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2012-04-08waffle.pc: Install waffle pkgconfig fileChad Versace
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2012-04-08cmake: Validate that at least one platform is chosenChad Versace
Raise a fatal error if not. (Currently, there is only one platform: x11_egl). Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2012-04-08cmake: Don't auto-set waffle_has_x11_eglChad Versace
The option was enabled automatically if libEGL and libX11-xcb were found. In pursuit of the principle of least surprise, this patch requires the user to explicitly enable the option, and libEGL and libX11-xcb are search for only the option is enabled. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2012-04-08waffle: Remove default values for platform and gl_apiChad Versace
The default values were chosen during CMake configuration time. This was a recipe for disaster. libwaffle built by different people would have significant behavioral differences. - Remove the CMake options waffle_default_{platform,gl_api}. - Remove the macros WAFFLE_{PLATFORM,GL_API}_DEFAULT. - Require the user provide attributes WAFFLE_{PLATFORM,GL_API} to waffle_init(). Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2012-04-08cmake: Install libwaffle.so and headersChad Versace
Install libwaffle.so to ${waffle_install_libdir}. Install headers to ${waffle_install_includedir}/waffle. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2012-04-08cmake: Add cache vars for install pathsChad Versace
waffle_install_includedir waffle_install_libdir waffle_install_docdir Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2012-04-08cmake: Add gl_basic_test to `make check`Chad Versace
Unit tests are run first. If unit tests fail, then subsequent tests are not ran. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2012-04-08cmake: Set internal options waffle_has_{egl,x11}Chad Versace
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2012-04-08cmake: Add initial CMakeListsChad Versace
It doesn't build anything yet, but it does accept several waffle configuration options. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>