I finally got my target to make static libs working - but I'm having
problems including a libSet into an executable cc task:
I keep getting build failure and an error message about libSet. line 284
is the line with 'dir' within libSet.
What is the current syntax for libSet.
I'd like to end up passing a -L${libroot}/lib/Sun to gcc,
but all I get are -l<libnames>.
thx
jennifer moter
cpptasks 1.0b (from july,2002)
test.xml:284: Element type "libSet" must be followed by either attribute
specifications, ">" or "/>".
<cc debug="true" outtype="executable" relentless="false"
objdir="${swanroot}/src/authServer"
outfile="authServer" >
<compiler name="gcc" rebuild="true" warnings="severe" >
<compilerarg value="-D__UNIX__"/>
<compilerarg value="-DNO_WCHAR"/>
<compilerarg value="-DDEBUG"/>
</compiler>
<fileset dir="${swanroot}/src/authServer"
excludes="Makefile,README,history.xml,ListMe,*.dsp,*.dsw,authServer
.conf,passwd.txt" />
<includepath refid="lib.include.path" />
<libSet
libs="nio,pkt,thr,msc,crypt,posix4,stdc++,pthread,xnet,ssl,crypto"
not allowed ==> dir="${libroot}/lib/Sun"
</libSet>
</cc>
|