|
From: Francesco M. <f18...@ya...> - 2007-03-03 14:06:26
|
Matías Szeftel ha scritto:
> Francesco Montorsi escribió:
>> 4) substitute "complib" with "wxcode-lib" and "compdll" with
>> "wxcode-dll" templates.
>>
>> 5) don't use <exe></exe> tag for your wxCode samples; instead replace
>> them with <wxcode-sample>
>>
>>
> What about non-libs projects (programs like wxARG :) )?
> Should I keep using <exe>? Any new templates?
Use "wxcode-exe" in this case.
It's a fusion of wx,wxlike,wxcode-basic templates which builds the
COMP_SRC and COMP_HDR sources & headers, which are vars which default to:
<set var="COMP_SRC" overwrite="0">$(fileList('src/*.c*'))</set>
<set var="COMP_HDR" overwrite="0">$(fileList('include/wx/*.h'))</set>
(looking at wxArg, you'll probably need to do):
<wxcode-exe ...>
<!-- by default wxCode bakefiles looks for headers in include/wx,
but we keep the headers directly in "include" instead:
-->
<headers>$(fileList('include/*.h'))</headers>
</wxcode-exe>
or alternatively do:
<!-- by default wxCode bakefiles looks for headers in include/wx,
but we keep the headers directly in "include" instead:
-->
<set var="COMP_HDR">$(fileList('include/*.h'))</set>
before declaring the wxcode-exe target.
HTH,
Francesco
|