Commit Graph

200 Commits

Author SHA1 Message Date
Zbigniew Mandziejewicz
75a1c67458 Merge 2f59dadb0c into ac9a6f8504 2015-10-13 04:38:48 +00:00
Camilla Berglund
bf7cce25dc Replace external context and client API headers 2015-10-13 00:48:18 +02:00
Camilla Berglund
95a07f3340 Start 3.2 2015-10-12 21:59:49 +02:00
Zbigniew Mandziejewicz
2f59dadb0c Remove 3.0 dependendent target export in build tree 2015-10-08 00:34:37 +08:00
Tamas Kenez
60121fb0a9 cmake: use export(EXPORT ..) only if CMake >= 3.0 2015-10-05 00:00:48 +08:00
Zbigniew Mandziejewicz
fc869d1100 Remove package export 2015-10-05 00:00:48 +08:00
Tamas Kenez
6ed81bb33c cmake: fix exported include dir path
target_include_directories used GLFW_INSTALL_INCLUDE_DIR
which was undefined.
The correct variable is CMAKE_INSTALL_INCLUDEDIR which
is what the installer sections use.
2015-10-05 00:00:47 +08:00
Tamas Kenez
566108d35a fix: some install(FILES..) assumed GLFW_BINARY_DIR 2015-10-05 00:00:47 +08:00
Zbigniew Mandziejewicz
c38315ec69 Simplified build tree CMake config 2015-10-05 00:00:47 +08:00
Zbigniew Mandziejewicz
14c867d2c9 Use GNUInstallDirs, enable build tree export 2015-10-05 00:00:47 +08:00
Zbigniew Mandziejewicz
a89f9680ec Fix CMake exports in build directory 2015-10-05 00:00:47 +08:00
Nicholas Vitovitch
168ad2a4b3 Export transitive dependencies
Uses CMake 2.8.12 policy to export transitive interface libraries via
glfw3Targets.cmake. This means we now link to dependent libraries
(i.e. opengl32 on Win32) for free.
2015-10-05 00:00:47 +08:00
Nicholas Vitovitch
6eeecb1b22 Introduces install path variables.
Adds variables for GLFW_INSTALL_{LIBRARY,INCLUDE,CONFIG,PKGCONFIG}_DIR,
which enforces consistency between our install paths and paths exported via glfw3Config.cmake.
2015-10-05 00:00:47 +08:00
Nicholas Vitovitch
016d0e105f Renames export targets file to glfw3Targets.cmake
Normalize name so that all cmake configuration files share a common
prefix of "glfw3".
2015-10-05 00:00:47 +08:00
Zbigniew Mandziejewicz
f42ada5ede glfwTargets install directory 2015-10-05 00:00:46 +08:00
Zbigniew Mandziejewicz
a2fa3369de Fix installation path of CMake package files 2015-10-05 00:00:46 +08:00
Camilla Berglund
7e13a4909e Make all EGL functions dynamically loaded 2015-08-25 02:24:42 +02:00
Camilla Berglund
6d5753c548 Added support for AMD PowerXpress override.
Generalized _GLFW_USE_OPTIMUS_HPG to _GLFW_USE_HYBRID_HPG to reflect the
change.

Fixes #520.
2015-05-29 13:15:32 +02:00
Camilla Berglund
3c52cb1790 Simplified glXGetProcAddress logic.
Removed compile-time selection of GLX entry point retrieval mechanism.
Made dlopen a required dependency.

This is a stopgap solution until we start requiring GLX 1.4.
2015-05-27 02:20:55 +02:00
Camilla Berglund
8309e0ecb0 Use DwmFlush when DWM is enabled.
Use DwmFlush instead of WGL_EXT_swap_control when desktop compositing is
enabled, to avoid the jitter of DWM and WGL vsync fighting.

Fixes #516.
2015-05-21 18:28:53 +02:00
Camilla Berglund
c9ae3f4efe Fixed build regression.
Fixes regression caused by 5f7f6319eb.
2015-05-14 17:00:03 +02:00
Camilla Berglund
155da0cd09 Unified librt and libm logic. 2015-05-14 16:15:50 +02:00
Camilla Berglund
b4f3adb6ee Removed no-op librt illogic. 2015-05-14 16:11:18 +02:00
Camilla Berglund
6b232bd8f6 Updated minimum required CMake version to 2.8.12.
All major package systems seem to have caught up.
2015-05-14 15:59:53 +02:00
Camilla Berglund
323d4a484d Simplified libdl logic. 2015-05-13 16:33:29 +02:00
Camilla Berglund
6af25fb423 MinGW flag logic cleanup. 2015-05-13 16:33:29 +02:00
Nicholas Vitovitch
35b6c72634 Simplifies CMake version checks. 2015-05-13 16:33:29 +02:00
Camilla Berglund
5f7f6319eb Made global setting of CMake module path explicit. 2015-05-13 16:14:01 +02:00
Camilla Berglund
5268914b3f Started 3.1.2. 2015-03-20 00:16:24 +01:00
Camilla Berglund
5f21e213df Made Xxf86vm optional at compile-time. 2015-02-16 15:40:41 +01:00
Camilla Berglund
f4c127f75a Made XInput2 optional at compile-time.
This is required for RHEL 5, CentOS 5 and Cygwin-X.

Fixes #314.
2015-02-16 15:40:39 +01:00
Camilla Berglund
ead8a1c333 Started 3.1.1. 2015-01-25 10:42:01 +01:00
Camilla Berglund
023f337735 Fixed IDE folder issues for VC++.
Fixes #328.
2015-01-07 00:58:54 +01:00
Camilla Berglund
fe7a4eb4ff Improved CMake config file generation. 2015-01-06 01:42:01 +01:00
Camilla Berglund
2b57d176df Added workaround for CMP0042. 2015-01-06 00:02:43 +01:00
Camilla Berglund
a6ba9d6bcd Fixed framework variables not marked as advanced. 2014-12-11 16:08:56 +01:00
Camilla Berglund
1dc84989bf Made pkgconfig variable use consistent. 2014-12-11 16:08:56 +01:00
BrandonSchaefer
cfb7d2f036 Start with the skeleton code for Mir support. 2014-11-10 02:00:14 +01:00
Camilla Berglund
fb90d5b0ec Added exploit mitigation linker flags for MinGW.
Closes #349.
2014-10-07 19:00:31 +02:00
Camilla Berglund
2a255e49e2 Made static library build with -fPIC for Rust.
Fixes #199.
2014-10-07 12:48:01 +02:00
Camilla Berglund
4918514eaf Added support for _NET_WM_FULLSCREEN_MONITORS.
This allows EWMH full screen windows to correctly cover monitors that
overlap other monitors, such as an Oculus Rift mapped onto a section of
a larger monitor.

Fixes #175.
2014-09-22 13:31:59 +02:00
Camilla Berglund
82dc6c8b8f Removed option to disable loading of winmm. 2014-08-31 13:51:21 +02:00
Camilla Berglund
dd043d737f Use CMake threading variable for Wayland. 2014-08-11 20:27:48 +02:00
Camilla Berglund
6e0ea02f17 Quoted all CMake paths with substitution.
Fixes #258.
2014-08-11 20:26:37 +02:00
Ricardo Vieira
3eae79f6e0 Fixed Wayland EGL pkg-config module name.
The wayland-egl module also includes wayland-client.

Fixes #317.
2014-07-01 10:37:41 +02:00
Jonas Ådahl
76f78cf123 Fixed name of xkbcommon pkg-config module. 2014-07-01 10:34:16 +02:00
Jonas Ådahl
9ac854b7bb wayland: Add keyboard support
Adds libxkbcommon as a dependency when enabling the Wayland backend.
2014-06-29 23:21:06 +02:00
Jonas Ådahl
7d373477ed wayland: Build with -pthread 2014-06-29 23:18:40 +02:00
Camilla Berglund
20b7ac0518 Formatting. 2014-06-12 22:08:37 +02:00
Camilla Berglund
2f30d3e5a3 Only generate Doxyfile if generating docs.
Fixes #307.
2014-06-11 23:07:55 +02:00