Commit Graph

7 Commits

Author SHA1 Message Date
Loufis
47fb0e3d16 Fixed a bug on macs
- Fixed an issue that made compiling glew hang on macs
- Currently using Apple LLVM version 7.0.2 (clang-700.1.81)
- Added .DS_Store files to gitignore
2016-07-11 07:56:34 -07:00
Nigel Stewart
5811916f32 Update .gitignore for cmake generated .rc files in build/ 2016-01-08 22:58:42 +10:00
Tamas Kenez
d2e6823451 cmake: install config-module
Installs a config module if CMake verion >= 2.8.12.
The config-module creates the import library targets
built in the project (glew, glew_s, glewmx, glewmx_s)
but in accordance with the FindGLEW module shipped with
CMake, it also creates GLEW::GLEW and GLEW::GLEWMX.

GLEW::GLEW and GLEW::GLEWMX will be simply copies of
glew/glewmx or glew_s/glewmx_s. If both versions are
available they alias the shared versions.

The default behaviour can be changed either when installing
or when using the package:

- Set BUILD_SHARED_LIBS to OFF or ON when building and
  installing GLEW. This controls which libraries
  (shared or static) will be installed (and not which
  will be built).
- Set GLEW_USE_STATIC_LIBS to OFF or ON before calling
  `find_package(GLEW CONFIG REQUIRED)` to force
  the config-module to create GLEW::GLEW and GLEWMX
  as aliases to glew/glewmx or glew_s/glewmx_s

The script ./cmake-testbuild.sh is added to test the
CMake build and config-module. See instructions there.
2015-06-22 14:06:50 +02:00
Nigel Stewart
4fcd4688a5 [cmake] Move cmake build into build/cmake to avoid collision with established GNUmake build system. 2015-02-19 21:45:56 +10:00
Dāvis
dca0732b22 Ignore some Visual Studio files 2014-07-12 15:18:19 +10:00
Nigel Stewart
c7c5d62ad2 .gitignore refinements 2012-05-26 00:09:16 -05:00
Nigel Stewart
2fee30d9c1 Add .gitignore 2012-05-04 09:30:51 -05:00