Looks like you need a <link> task. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Burton, Kevin Sent: Saturday, July 24, 2004 8:02 PM To: [EMAIL PROTECTED] Subject: [Nant-users] Managed C++ DLL?
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=ick _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------- 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