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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ wxCode-users mailing list wxCode-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxcode-users