I am trying the build a managed C++ library (DLL) and the objects corresponding to the 
.cpp files are created but there doesn't seem to be a link performed. The final .dll 
is not built. The nant build that I am trying is included below.

Any ideas?

Kevin Burton
[EMAIL PROTECTED]


    <target name="build">
        <echo message="Building LDAPInterface..."/>
        <cl outputdir="${build.dir}" managedextensions="true">
            <sources>
                <include name="*.cpp"/>
            </sources>
            <arg value="/clr" />
            <arg value="/EHsc" />
            <metadataincludedires>
                <include name="${build.dir}"/>
            </metadataincludedires>
            <forcedusingfiles>
                <include 
name="C:\WINNT\Microsoft.NET\Framework\v1.1.4322\mscorlib.dll"/>
                <include name="C:\WINNT\Microsoft.NET\Framework\v1.1.4322\System.dll"/>
                <include 
name="C:\WINNT\Microsoft.NET\Framework\v1.1.4322\System.Xml.dll"/>
                <include name="${build.dir}\GenericXml.dll"/>
                <include name="${build.dir}\ErrorLog.dll"/>
            </forcedusingfiles>
            <includedirs>
                <include name="${VcInstallDir}\Include"/>
                <include name="${VcInstallDir}\atlmfc\Include"/>
                <include name="${VcInstallDir}\PlatformSDK\Include"/>
            </includedirs>
        </cl>
    </target>


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to