[Scons-users] ****SPAM**** Re: need assistance on 3rd-party scons file

William Johnston williamj at tenbase2.com
Mon Oct 1 08:53:25 EDT 2012



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?

Attached is the file.

Thank you.

Sincerely,
William Johnston




From: William Deegan
Sent: Friday, September 28, 2012 12:26 PM
To: SCons users mailing list
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20121001/53fd1c75/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SConscript.zip
Type: application/octet-stream
Size: 1282 bytes
Desc: not available
Url : <http://four.pairlist.net/pipermail/scons-users/attachments/20121001/53fd1c75/attachment.obj>


More information about the Scons-users mailing list