mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-10-06 07:00:16 +08:00
Rename wxHTML samples to avoid reusing the same file names as this resulted in a problem when copying them concurrently: for example, 3 samples executed the same "cmake -E copy start.htm" command copying 3 different versions of this file to the same destination directory. This could result in a wrong file being used, but it also could fail the build entirely because another "cmake -E copy" could remove the destination while the previous one was updating its attributes, resulting in weird "file not found" errors (note that this happens only under macOS because Linux, apparently copies files (more?) atomically). The simplest fix is to just avoid reusing the same file name, so apply this for now. Using per-sample destination directory would probably be better, but would require more changes.
19 lines
400 B
XML
19 lines
400 B
XML
<?xml version="1.0" ?>
|
|
|
|
<makefile>
|
|
|
|
<include file="../../../build/bakefiles/common_samples.bkl"/>
|
|
|
|
<exe id="widget" template="wx_sample" template_append="wx_append">
|
|
<sources>widget.cpp</sources>
|
|
<wx-lib>html</wx-lib>
|
|
<wx-lib>core</wx-lib>
|
|
<wx-lib>base</wx-lib>
|
|
</exe>
|
|
|
|
<wx-data id="data">
|
|
<files>widget.htm</files>
|
|
</wx-data>
|
|
|
|
</makefile>
|