]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/opengl.bkl
Fix wxHash{Set,Map} compilation with g++ 4.7 in C++11 mode.
[wxWidgets.git] / build / bakefiles / opengl.bkl
CommitLineData
957130ca
VS
1<?xml version="1.0" ?>
2<!-- $Id$ -->
3
4<makefile>
24f618ee 5
957130ca
VS
6 <!-- ================================================================= -->
7 <!-- OpenGL canvas library -->
8 <!-- ================================================================= -->
24f618ee 9
34b08d2c
VS
10 <set var="WXLIBGLDEP_CORE">
11 <if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('core')))</if>
12 </set>
13 <set var="WXLIBGLDEP_BASE">
14 <if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('base')))</if>
15 </set>
24f618ee 16
957130ca
VS
17 <dll id="gldll" template="wx_dll"
18 cond="SHARED=='1' and USE_GUI=='1' and USE_OPENGL=='1'">
19 <define>WXUSINGDLL</define>
20 <define>WXMAKINGDLL_GL</define>
21 <sources>$(OPENGL_SRC)</sources>
390c0cfb 22 <msvc-headers>$(OPENGL_HDR)</msvc-headers>
496d012a 23
24f618ee 24 <!-- link against base and core libs in multilib build: -->
34b08d2c
VS
25 <sys-lib>$(WXLIBGLDEP_CORE)</sys-lib>
26 <sys-lib>$(WXLIBGLDEP_BASE)</sys-lib>
7b5dfe6c
VS
27 <depends>basedll</depends>
28 <depends>coredll</depends>
496d012a
VS
29 <!-- link against the wxWin library in monolithic build: -->
30 <sys-lib>$(WXLIB_MONO)</sys-lib>
7391e7a0 31 <depends>monodll</depends>
957130ca 32
22cef566 33 <ldlibs>$(EXTRALIBS_OPENGL)</ldlibs>
957130ca 34 </dll>
24f618ee 35
957130ca
VS
36 <lib id="gllib" template="wx_lib"
37 cond="SHARED=='0' and USE_GUI=='1' and USE_OPENGL=='1'">
38 <sources>$(OPENGL_SRC)</sources>
390c0cfb 39 <msvc-headers>$(OPENGL_HDR)</msvc-headers>
957130ca
VS
40 </lib>
41
7dd1ae11
VS
42 <wxshortcut id="wxgl" cond="USE_GUI=='1' and USE_OPENGL=='1'"/>
43
957130ca 44</makefile>