[EMAIL PROTECTED] wrote:


On Fri, 25 Jul 2003 10:02:56 -0700, Steve Loughran wrote



    <cc debug="${build.debug}"
        outtype="executable"
        objdir="${obj.dir}"
        multithreaded="true"
        incremental="true"
        exceptions="true"

runtime="static"

        subsystem="gui"
        >
        <defineset refid="core-defines"/>
        <compiler refid="studio" >
            <precompile prototype="${stdafx.cpp}"/>
        </compiler>
        <!-- C++ source -->
        <fileset dir="${src.dir}"
          includes="*.cpp"/>
        <includepath location="${IDL.dist.dir}" />
    </cc>


The above ant build seems very attractive.
In Microsoft compiler cl, options for multithreading is /ML and for exceptions
/GX. But how does the above multithreaded="true" and exceptions="true" map to
the VC compiler options?

Magic. Or more likely the per-compiler adapter classes in the JAR.


BTW, there is >1 exception option in MSVC, such as /EHsc and /EHa ... I dont know which one they use


--
Lanka Software Foundation (http://www.opensource.lk)
Promoting Open-Source Development in Sri Lanka





Reply via email to