added wx-lib template for building static libs (no linking)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -73,9 +73,12 @@ Format-specific notes:
|
|||||||
</error>
|
</error>
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
<template id="wx">
|
<template id="wx-lib">
|
||||||
<cxxflags>$(WX_CXXFLAGS)</cxxflags>
|
<cxxflags>$(WX_CXXFLAGS)</cxxflags>
|
||||||
<cflags>$(WX_CFLAGS)</cflags>
|
<cflags>$(WX_CFLAGS)</cflags>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<template id="wx" template="wx-lib">
|
||||||
<ldlibs>$(WX_LIBS)</ldlibs>
|
<ldlibs>$(WX_LIBS)</ldlibs>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@@ -167,7 +167,8 @@ FIXME: this template has (at least) the following bugs:
|
|||||||
position="before:__wx-libs-point"/>
|
position="before:__wx-libs-point"/>
|
||||||
|
|
||||||
|
|
||||||
<template id="wx">
|
<!-- template for static wx libraries: -->
|
||||||
|
<template id="wx-lib">
|
||||||
<!-- MISCELLANEOUS -->
|
<!-- MISCELLANEOUS -->
|
||||||
<if cond="FORMAT=='mingw'">
|
<if cond="FORMAT=='mingw'">
|
||||||
<define>HAVE_W32API_H</define>
|
<define>HAVE_W32API_H</define>
|
||||||
@@ -180,7 +181,11 @@ FIXME: this template has (at least) the following bugs:
|
|||||||
|
|
||||||
<include>$(WX_DIR)$(WXLIBINCLUDE)</include>
|
<include>$(WX_DIR)$(WXLIBINCLUDE)</include>
|
||||||
<include>$(WX_DIR)/include</include>
|
<include>$(WX_DIR)/include</include>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- template for wx executables/dlls: -->
|
||||||
|
<template id="wx" template="wx-lib">
|
||||||
<lib-path>$(WX_DIR)$(WXLIBPATH)</lib-path>
|
<lib-path>$(WX_DIR)$(WXLIBPATH)</lib-path>
|
||||||
|
|
||||||
<!-- wx libs must come before 3rd party and sys libs, this is
|
<!-- wx libs must come before 3rd party and sys libs, this is
|
||||||
|
Reference in New Issue
Block a user