diff options
author | Yaron Cohen-Tal <yaronct@gmail.com> | 2015-07-18 12:00:06 +0300 |
---|---|---|
committer | Yaron Cohen-Tal <yaronct@gmail.com> | 2015-07-18 17:39:12 +0300 |
commit | 773dd02f596b3f256bb1c0f65ac091db93a9518b (patch) | |
tree | 16e4d3260145e7f515bb97f2ab965e61ce0c63bf /README.md | |
parent | 8bbc0d40c6c4e023e71ac8bfe7f5898005cac920 (diff) | |
download | libepoxy-773dd02f596b3f256bb1c0f65ac091db93a9518b.tar.gz |
Added makefiles to build with MSVC 2013, and fixed errors and warnings.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -23,8 +23,8 @@ Features * EGL, GLX, and WGL support. * Can be mixed with non-epoxy GL usage. -Building --------- +Building (Unix) +--------------- ./autogen.sh make @@ -46,6 +46,14 @@ Dependencies for OS X (macports): The test suite has additional dependencies depending on the platform. (X11, EGL, a running X Server). +Building (MSVC 2013) +-------------------- +1) Check src\Makefile.vc to ensure that PYTHONDIR is pointing to your Python installation, either a 32-bit or a 64-bit (x64) installation of Python will do. +2) Open an MSVC Command prompt and run "nmake Makefile.vc CFG=release" or "nmake Makefile.vc CFG=debug" in src\ for a release or debug build. +3) Optionally, add src\ into your PATH and run the previous step in test\. Run the tests by running the built .exe's. +4) Assuming you want to install in %INSTALL_DIR%, copy gl.h, gl_generated.h, wgl.h, wgl_generated.h, egl.h and egl_generated.h from include\epoxy\ to %INSTALL_DIR%\include\epoxy\, copy src\epoxy.lib to %INSTALL_DIR%\lib\ and copy epoxy-vs12.dll and epoxy-vs12.pdb (if you've built a debug build) from src\ to %INSTALL_DIR%\bin\. Create directories as needed. +5) To clean the project, repeat steps 2 and 3, adding " clean" to the commands. + Switching your code to using epoxy ---------------------------------- |