wxWidgets/build/bakefiles/wxpresets/libsample/libsample.bkl
Vadim Zeitlin 3f66f6a5b3 Remove all lines containing cvs/svn "$Id$" keyword.
This keyword is not expanded by Git which means it's not replaced with the
correct revision value in the releases made using git-based scripts and it's
confusing to have lines with unexpanded "$Id$" in the released files. As
expanding them with Git is not that simple (it could be done with git archive
and export-subst attribute) and there are not many benefits in having them in
the first place, just remove all these lines.

If nothing else, this will make an eventual transition to Git simpler.

Closes #14487.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-26 16:02:46 +00:00

47 lines
1.6 KiB
XML

<?xml version="1.0" ?>
<makefile>
<!-- a typical nice feature which wxpresets make available to wx-based programs
is to allow the user to build with different configurations those programs;
this is achieved in few fundamental steps:
1) set a different BUILDDIR for different build configurations
2) set different output dirs for the libraries built with a
different shared/static setting
3) set different output names for the libraries built with
different unicode/ansi and release/debug settings
-->
<include file="presets/wx.bkl"/>
<!-- the following line implements step #1: -->
<set-wxlike-builddir/>
<!-- through the use of the 'wx-lib' and 'wxlike' templates, we'll get
the ability to compile against any wxWidgets build using, for our
program, the same configuration of the selected wxWidgets build.
-->
<template id="my" template="wx-lib,wxlike">
<!-- wxlike-dirname implements step #2 (see initial comment) -->
<wxlike-dirname>lib</wxlike-dirname>
<sources>libsample.cpp</sources>
</template>
<lib id="static" template="my" cond="WX_SHARED=='0'">
<!-- wxlike-libname implements step #3 (see initial comment) -->
<wxlike-libname prefix='sample'>test</wxlike-libname>
</lib>
<dll id="shared" template="my" cond="WX_SHARED=='1'">
<!-- wxlike-dllname does step #3 (see initial comment) -->
<wxlike-dllname prefix='sample'>test</wxlike-dllname>
<define>WXMAKINGDLL_LIBSAMPLE</define>
<wx-lib>core</wx-lib>
<wx-lib>base</wx-lib>
</dll>
</makefile>