Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
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.
|
|
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.
|
|
Signed-off-by: Chad Versace <chad.versace@intel.com>
|
|
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>
|
|
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>
|
|
This fixes out-of-source builds, and does not harm in-source builds.
Signed-off-by: Chad Versace <chad.versace@intel.com>
|
|
Replace
include(${CMAKE_ROOT}/Modules/FindPACKAGE.cmake)
with
find_package(PACKAGE)
|
|
|
|
Discussed on IRC.
Finally we have headers for OpenGL 4.1 and all the extensions released
to this day.
|
|
|
|
|
|
Fixes CMake error.
|
|
|
|
|
|
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>
|
|
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.
|
|
|
|
|
|
|
|
|