[Scons-users] ****SPAM**** Re: need assistance on 3rd-party scons file
Bill Deegan
bill at baddogconsulting.com
Mon Oct 1 17:40:30 EDT 2012
William,
On Mon, Oct 1, 2012 at 5:53 AM, William Johnston <williamj at tenbase2.com>wrote:
>
> Mr. Deegan:
>
> I modified the scons file in two ways.
>
> 1. Changed the wrapper statement on line 23 to
>
> wrapper = clone.File(name + '_wrap.cs')
>
> 2. Removed the c++ option for the swig command-line args (on line 45) to
>
> swig_cmd = 'swig %s -o "$TARGET" -c++ -csharp -Wall -namespace sml
> -dllimport %s -outdir "%s" "$SOURCE"' % (incs, name, srcdir)
>
> Again, the source files are both native C++ and C#. I need to create a C#
> .NET dll.
>
> Do you know what the “$TARGET” and “$SOURCE” variables are?
>
The TARGET and SOURCE variables are dynamically generated by SCons to be
the source and targets for each command.
Have you read the users guide and manpage yet?
-Bill
>
> Attached is the file.
>
> Thank you.
>
> Sincerely,
> William Johnston
>
>
>
>
> *From:* William Deegan <bill at baddogconsulting.com>
> *Sent:* Friday, September 28, 2012 12:26 PM
> *To:* SCons users mailing list <scons-users at scons.org>
> *Subject:* ****SPAM**** Re: [Scons-users] need assistance on 3rd-party
> scons file
>
> William,
>
> On Sep 28, 2012, at 7:50 AM, William Johnston <williamj at tenbase2.com>
> wrote:
>
>
> Hello,
>
> Would you please take a look at the attached scons file?
>
> It creates a native C++ dll, and I would like to create a C# .NET dll.
>
> Could anyone advise me on how to do this?
>
> I tried a few hacks, but could not get the project to build.
>
>
> Can you be more explicit about what the problem is and what you've tried
> thus far?
> Perhaps with some code snippets and output?
>
> -Bill
>
> ------------------------------
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> http://four.pairlist.net/mailman/listinfo/scons-users
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> http://four.pairlist.net/mailman/listinfo/scons-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20121001/0a5459af/attachment.htm>
More information about the Scons-users
mailing list