silence bakefile warnings about the generation of project files for sample bakefiles using <wx-data>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
928f1a076c
commit
586235b181
@ -73,27 +73,37 @@
|
|||||||
<!-- Support for samples data files: -->
|
<!-- Support for samples data files: -->
|
||||||
<!-- =============================================================== -->
|
<!-- =============================================================== -->
|
||||||
|
|
||||||
<define-rule name="wx-data" extends="copy-files">
|
<if cond="FORMAT_SUPPORTS_ACTIONS=='1'">
|
||||||
<template>
|
<define-rule name="wx-data" extends="copy-files">
|
||||||
<dependency-of>all</dependency-of>
|
<template>
|
||||||
<dstdir>$(BUILDDIR)</dstdir>
|
<dependency-of>all</dependency-of>
|
||||||
<srcdir>$(SRCDIR)</srcdir>
|
<dstdir>$(BUILDDIR)</dstdir>
|
||||||
</template>
|
<srcdir>$(SRCDIR)</srcdir>
|
||||||
|
</template>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
VS - FIXME:
|
VS - FIXME:
|
||||||
Don't clean the files because it would wipe out sources files if
|
Don't clean the files because it would wipe out sources files if
|
||||||
BUILDDIR==SRCDIR. This is same behaviour as in the old build system,
|
BUILDDIR==SRCDIR. This is same behaviour as in the old build system,
|
||||||
but it would be better to delete the files during "make clean" if
|
but it would be better to delete the files during "make clean" if
|
||||||
BUILDDIR!=SRCDIR.
|
BUILDDIR!=SRCDIR.
|
||||||
|
|
||||||
<define-tag name="files">
|
<define-tag name="files">
|
||||||
<clean-files>
|
<clean-files>
|
||||||
$(' '.join(['$(BUILDDIR)$(DIRSEP)%s'%x for x in value.split()]))
|
$(' '.join(['$(BUILDDIR)$(DIRSEP)%s'%x for x in value.split()]))
|
||||||
</clean-files>
|
</clean-files>
|
||||||
</define-tag>
|
</define-tag>
|
||||||
-->
|
-->
|
||||||
</define-rule>
|
</define-rule>
|
||||||
|
</if>
|
||||||
|
<if cond="FORMAT_SUPPORTS_ACTIONS=='0'">
|
||||||
|
<!-- empty stub for project-files formats which don't support <command> -->
|
||||||
|
<define-rule name="wx-data" extends="action">
|
||||||
|
<define-tag name="dstdir"/>
|
||||||
|
<define-tag name="srcdir"/>
|
||||||
|
<define-tag name="files"/>
|
||||||
|
</define-rule>
|
||||||
|
</if>
|
||||||
|
|
||||||
|
|
||||||
<!-- =============================================================== -->
|
<!-- =============================================================== -->
|
||||||
|
Loading…
Reference in New Issue
Block a user