summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)AuthorFilesLines
2011-03-13Portability build fixes for MinGW.José Fonseca1-0/+5
2011-03-07cmake: Put the binaries in the right place for MSVS too.José Fonseca1-2/+10
Until now MSVS was putting binaries on a Debug/Release/etc sub-directory. This implied using CMAKE_RUNTIME_OUTPUT_DIRECTORY and CMAKE_LIBRARY_OUTPUT_DIRECTORY instead of deprecated EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH vars.
2011-03-07cmake: Allow GL/glext.h to be specified separately.José Fonseca1-0/+14
glext.h is not bundled on MSVC, so its path needs to be included separately. It might be also useful on other platforms to override the system's glext.h with a more recent one.
2011-02-25cmake: Enable building GLES2 targetsChad Versace1-0/+1
Signed-off-by: Chad Versace <chad.versace@intel.com>
2011-02-25piglit: Add header <piglit/gl_wrap.h>Chad Versace1-0/+1
A convenience header that includes the actual OpenGL headers, which are chosen according to the macro definitions USE_OPENGL and USE_OPENGL_ES2. Note: This belongs to a series that adds GLES2 support to Piglit. Signed-off-by: Chad Versace <chad.versace@intel.com>
2011-02-25cmake: Prepare CMake for GL and GLES2 buildsChad Versace1-2/+2
Add two new CMakeLists, /cmake/target_api/{gl,gles2}/CMakeLists.txt, each of which builds Piglit with its respective API. (Of course, gles2/CMakeLists.txt adds no targets because Piglit does not yet support building with GLES2.) The toplevel CMakeLists no longer adds subdirectory /tests; that is now the responsiblity of the API-specific CMakeLists. Note: This belongs to a series that adds GLES2 support to Piglit. Signed-off-by: Chad Versace <chad.versace@intel.com>
2011-02-25cmake: Move output paths from piglit_SOURCE_DIR to piglit_BINARY_DIRChad Versace1-2/+2
This fixes out-of-source builds, and does not harm in-source builds. Signed-off-by: Chad Versace <chad.versace@intel.com>
2011-02-25cmake: Replace awkward package inclusions with the natural CMake idiomChad Versace1-5/+5
Replace include(${CMAKE_ROOT}/Modules/FindPACKAGE.cmake) with find_package(PACKAGE)
2011-02-25cmake: Find GLES2 libraryChad Versace1-0/+1
2011-02-17Import GLEWMarek Olšák1-8/+0
Discussed on IRC. Finally we have headers for OpenGL 4.1 and all the extensions released to this day.
2010-07-23Add X11 libs so it builds on FedoraKristian Høgsberg1-0/+1
2010-05-14Add the start of an EGL test suite and a EGL_NOK_swap_region testKristian Høgsberg1-0/+5
2010-04-19Add 'INCLUDE (CheckFunctionExists)' in CMakeLists.txt.Vinson Lee1-0/+1
Fixes CMake error.
2010-04-19util: Additional cmake-based portability testsIan Romanick1-0/+7
2010-04-19util: Add support for systems that lack strchrnul.Ian Romanick1-0/+7
2010-04-12Add a minimum cmake versionXavier Chantry1-0/+2
So that cmake stops complaining. This apparently causes a change in add_definitions behavior and I had to remove \\\" to make shaders work. Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
2009-04-30Enable compiler warnings.Eric Anholt1-0/+6
I would do the right set of warnings for gcc like we do for automake projects, but the way you have to do it in cmake is ridiculous and so apparently basically nobody enables compiler warnings with cmake.
2009-03-18Add infrastructure for tests to use GLEWIan Romanick1-0/+8
2007-03-25texline: Write screenshot using libpngNicolai Haehnle1-0/+1
2007-03-25Build test executables in a dedicated bin directoryNicolai1-0/+3
2007-03-24Initial commitNicolai Hähnle1-0/+8