3ffa651a34
This basically removes the "adv" library, even though it's still preserved for compatibility with user make/project files referring to it. It is done because the distinction between "adv" and "core" was never really clear (e.g. why wxTreeCtrl was in core but wxTreeListCtrl in adv?) and it prevented some core classes from using adv ones.
66 lines
1.9 KiB
XML
66 lines
1.9 KiB
XML
<?xml version="1.0" ?>
|
|
<makefile>
|
|
|
|
<include file="../../build/bakefiles/common_samples.bkl"/>
|
|
|
|
<!--
|
|
The source file using native controls uses Cocoa under OS X, so it must
|
|
be compiled as Objective C++ which means it must have .mm extension.
|
|
But this would make it uncompilable under the other platforms and we
|
|
don't want to have two files with identical contents. Hence this hack:
|
|
we have native.mm which just includes native.cpp under OS X, while
|
|
elsewhere we just compile native.cpp directly.
|
|
-->
|
|
<set var="NATIVE_OBJCPP_SRC">
|
|
<if cond="OUT_OF_TREE_MAKEFILES=='1'">
|
|
<!-- We can't determine if we're using Cocoa or not, assume we don't -->
|
|
</if>
|
|
<if cond="TOOLKIT=='OSX_COCOA' and WXUNIV=='0'">
|
|
native_wrapper.mm
|
|
</if>
|
|
</set>
|
|
|
|
<exe id="widgets" template="wx_sample" template_append="wx_append">
|
|
<sources>
|
|
activityindicator.cpp
|
|
bmpcombobox.cpp
|
|
button.cpp
|
|
checkbox.cpp
|
|
choice.cpp
|
|
clrpicker.cpp
|
|
combobox.cpp
|
|
datepick.cpp
|
|
dirctrl.cpp
|
|
dirpicker.cpp
|
|
editlbox.cpp
|
|
filectrl.cpp
|
|
filepicker.cpp
|
|
fontpicker.cpp
|
|
gauge.cpp
|
|
headerctrl.cpp
|
|
hyperlnk.cpp
|
|
itemcontainer.cpp
|
|
listbox.cpp
|
|
$(NATIVE_OBJCPP_SRC)
|
|
native.cpp
|
|
notebook.cpp
|
|
odcombobox.cpp
|
|
radiobox.cpp
|
|
searchctrl.cpp
|
|
slider.cpp
|
|
spinbtn.cpp
|
|
static.cpp
|
|
statbmp.cpp
|
|
textctrl.cpp
|
|
timepick.cpp
|
|
toggle.cpp
|
|
widgets.cpp
|
|
</sources>
|
|
<headers>widgets.h itemcontainer.h</headers>
|
|
<wx-lib>core</wx-lib>
|
|
<wx-lib>base</wx-lib>
|
|
<win32-res>../sample.rc</win32-res>
|
|
</exe>
|
|
|
|
</makefile>
|