Robert Russell
8f2607c731
Update CMakeLists.txt
2021-05-25 11:48:37 -04:00
Robert Russell
17a193b4c5
Update CMakeLists.txt
2021-05-25 11:46:12 -04:00
Robert Russell
de3f5ba39d
Update CMakeLists.txt
2021-05-25 11:37:29 -04:00
Robert Russell
14d2b492a1
Update CMakeLists.txt
...
umm
target_link_libraries(glew PUBLIC common_glew_includes)
2021-05-25 11:32:58 -04:00
Robert Russell
32014c295e
Update CMakeLists.txt
...
this is only file in root/src
2021-05-25 11:21:00 -04:00
Robert Russell
e2b383f138
Update CMakeLists.txt
...
forgot a keyword.
2021-05-25 11:15:48 -04:00
Robert Russell
a597b1237c
Update CMakeLists.txt
...
some .h files don't exist anymore. using
target_include_directories as a catch all then it'll just search that directory for the .h files.
2021-05-25 11:13:35 -04:00
Robert Russell
d952348fbf
Update CMakeLists.txt
...
some files are in the root directory.
2021-05-25 11:03:58 -04:00
Robert Russell
5ffb302a74
Update CMakeLists.txt
...
there's nothing in ../../src but there is in ../../auto/src
So I think someone moved the files but didn't update the CMakeLists.txt
2021-05-25 11:00:54 -04:00
Daniel Bernar
80e061f85d
Add ability to change output dirs
...
https://github.com/nigels-com/glew/issues/264
2021-03-21 12:41:32 +10:00
Julien Schueller
2b50f4acd2
CMake: Prefer GLVND if available
2021-03-21 12:41:04 +10:00
Julien Schueller
2b16160853
CMake: Add BUILD_SHARED_LIBS option
2021-03-21 12:41:04 +10:00
Julien Schueller
e34bb212f6
CMake: Add X11/EGL options
2021-03-21 12:41:04 +10:00
Danilo Spinella
95329dc4a6
GLEW_EGL: Fix EGL library check
2021-01-10 12:07:23 +10:00
Jose Santiago
5ea705737a
Link the UTILS to the static library if BUILD_SHARED_LIBS is disabled.
2020-03-06 07:54:09 +10:00
Jose Santiago
882aef9761
Do not put build artifacts in the source directory.
2020-03-06 07:53:49 +10:00
Nigel Stewart
4bbe8aa2ab
Visual Studio 16 release-mode cmake fixup: libvcruntime.lib, msvcrt.lib
2019-09-28 12:27:53 +10:00
Nigel Stewart
44049b7de2
FreeBSD cmake fixup for locating X11 include and lib
2019-02-02 09:23:01 +10:00
Danilo Spinella
c63cdf976d
Add GLEW_EGL in cmake build
2018-12-29 20:21:23 +10:00
Nigel Stewart
8b2d34956c
Conditional cmake policy CMP0003 and CMP0042
2018-10-13 14:07:01 +10:00
Olli Kallioinen
f5f69b25eb
Fix for issue #169 (glew cmake project requires a c++ compiler)
2017-12-30 09:25:54 +10:00
Steve Robinson
07b759b784
The install_manifest.txt is actually in the top-level binary directory, not the project-specific binary directory. I get the CMake error 'Cannot find install manifest' if I've added the glew library as a subdirectory in my existing CMake project.
2017-10-09 21:10:58 +10:00
jasjuang
0b5461935f
add sudo make uninstall for cmake build
2017-06-20 16:06:47 -07:00
Claudio
298528cd87
Remove trailing space
2017-04-23 19:24:39 +02:00
Claudio
e7bf0f70b3
Add VERSION and SOVERSION number to shared libraries
...
With this commit, when building or installing `glew`, VERSION and
SOVERSION symlinks to the `glew` shared library are created in the
library installation folder if the platform supports them and the linker
supports so-names.
VERSION and SOVERSION specify, respectively, the build version and API
version of the shared library.
As an example, under macOS, the following symlinks will be created:
libGLEW.2.0.0.dylib (the shared library)
libGLEW.2.0.dylib -> libGLEW.2.0.0.dylib (VERSION symlink)
libGLEW.dylib -> libGLEW.2.0.dylib (SOVERSION symlink)
Fixes #141
2017-04-23 19:24:12 +02:00
Nigel Stewart
925722f910
OSX cmake refinement - no Requires: glu in glew.pc
2017-04-23 11:23:12 +10:00
Nigel Stewart
a9e50908a1
For cmake build, skip X11 check for Windows and Apple OSX
2017-04-23 09:34:57 +10:00
Nigel Stewart
d77479401d
For cmake build, opt into Mac OS X rpath mode, bump version to 2.8.12
2017-04-23 09:20:49 +10:00
Abdo Roig-Maranges
cedd84f839
cmake: only install PDB files with msvc
...
Otherwise cmake windows builds with the mingw compiler are broken.
2016-12-27 20:48:09 +01:00
Nigel Stewart
62ac9ddfa4
Merge pull request #117 from undisputed-seraphim/Windows_Build_Fixes
...
Resolve issue #99 : Removed /RTC1 flag in glew…
2016-12-23 21:05:39 +10:00
Rashad Kanavath
c690766fc2
CMake: call find_package only if build_utils is enabled
2016-12-23 05:50:13 +01:00
Tan Li Boon
6a38eb3fc5
Resolve issue #99 :
...
- Used cmake regex to strip out the /RTC1 flag used by MSVC debug builds, which conflicts with the -nodefaultlib and -noentry flags.
2016-11-21 20:03:23 +08:00
Nigel Stewart
180db268c0
cmake fixup for non-Windows
2016-05-21 08:07:56 +10:00
Marcel Metz
f3831806e7
Install pdb file for Debug
and RelWithDebInfo
2016-04-03 13:12:29 +02:00
Marcel Metz
24bcf04c19
CMake: Use GNUInstallDirs variables for MacOSX framework destination
2016-04-02 10:40:42 +02:00
Marcel Metz
6bd1a26375
CMake: Use GNUInstallDirs variables for pkg-config
2016-04-02 10:37:12 +02:00
Marcel Metz
8042db9fa3
CMake: Use GNUInstallDirs to place the build artifacts properly
...
CMake 2.8.5 added the GNUInstallDirs module, which provides various
variables following the CMAKE_INSTALL_*DIR pattern to allow users a more
flexible installation setup and to provide sensible defaults while
respecting distribution specific install locations like lib64 for RPM
based linux distributions or debian multiarch tuples.
2016-04-02 10:57:37 +10:00
stopiccot
30df027756
CMake support for building OS X framework
2016-03-19 07:30:41 +03:00
Wes Tarro
9548431bd0
Moved DLL entry-point for GCC into glew.c rather than a standalone file
...
included using CMake.
2016-02-15 15:15:33 -05:00
Wes Tarro
02fc17f511
Fix warnings and CMake issue.
2016-02-06 13:35:13 -05:00
Wes Tarro
32b2ea5266
Fixed building with GCC - needed different options and had to create a dummy
...
DLL entry to avoid crashes.
2016-02-06 13:13:04 -05:00
Wes Tarro
31cee87b1c
Finish taking C runtime out of GLEW on Windows and remove no longer supported MX configurations from Visual Studio projects.
2016-02-06 10:54:29 -05:00
Wes Tarro
5efdbaefc8
Makes GLEW truly independent of C runtime library on Windows to prevent
...
any issues with mixing compilers and library versions. The Visual Studio
Projects need some touching up to get all of the settings synced up for all
of the build variants.
2016-02-05 02:53:25 -05:00
Nigel Stewart
9297c604ca
For cmake 3.4 - link X11 libs for glewinfo and visualinfo unless not available, or GLEW_OSMESA mode.
2016-01-08 23:25:46 +10:00
Nigel Stewart
9e66fc86a3
More cmake migrate for removal of MX
2015-12-06 12:49:28 +10:00
Nigel Stewart
a4aa9b2717
Remove MX support due to the complexity of supporting both MX and Core contexts
2015-12-06 12:49:24 +10:00
Tamas Kenez
66c5229ec2
cmake: allow calling find_package(GLEW) multiple times
2015-11-17 21:27:49 +10:00
Gyusun Yeom
c5c60068f7
Add ".rc" files to each libraries and executables for Windows build
2015-10-10 11:40:47 +10:00
Nigel Stewart
fd49b2baff
Touch-ups for GLEW_OSMESA build support
2015-10-10 11:33:40 +10:00
Nigel Stewart
4718d42dde
Regal-mode support for cmake build
2015-10-10 11:22:12 +10:00