| But that would require a bit more work. The Scons Options class
accepts a filename, and currently the customs.py is handled by a
different Options object
Saludos,
Felipe Sateler
On Tue, Jul 14, 2009 at 19:08, Michael Gogins wrote:
> We could simply add the build options to the existing custom.py file system.
>
> Regards,
> Mike
>
> On 7/14/09, Felipe Sateler wrote:
>> Well, the OSX parts I haev mostly left untouched, since I dont have
>> access to that OS either. I think it is better (and easier) to make
>> scons load a options.py file, a la custom.py with all the default
>> options. Hmm, perhaps autodetection of libraries can go in there if
>> people are interested.
>> Yes, I think building into a bin directory should be optimal, I will
>> try to figure that out when I go back. What error did you get?
>>
>> Saludos,
>> Felipe Sateler
>>
>>
>>
>> On Mon, Jul 13, 2009 at 18:57, Michael Gogins
>> wrote:
>>> I tried it and it failed to build. One issue was the different
>>> directories got in the way of linking some parts of Csound with
>>> Csound's own shared libraries.
>>>
>>> I would much prefer it if all binaries were the in the root directory,
>>> or failing that in a bin directly.
>>>
>>> Otherwise I think SConstruct2 is better organized than the original. I
>>> don't mind all options defaulting to zero. A script with so many
>>> options is normally run from a shell script that sets the options
>>> anyway. Perhaps it could be changed to use an environment variable
>>> (CSOUND_SCONS_OPTIONS or something) as well.
>>>
>>> I would have rewritten the whole thing myself, but I don't build on OS
>>> X so I might have just messed something up, and it isn't worth taking
>>> that chance.
>>>
>>> Regards,
>>> Mike
>>>
>>> On 7/12/09, Felipe Sateler wrote:
>>>> Not really. It did at some point in time, but I have lagged behind in
>>>> updating it. Also, there are two showstoppers IMO: the install target
>>>> is not working yet, and there are some behaviour changes from the old
>>>> SConstruct.
>>>> The most notorious behaviour changes are that now targets are built in
>>>> their respective subdirectories (that is, opcodes will be in Opcodes,
>>>> the interface libraries will lie in interfaces/, etc). I am not so
>>>> sure this is desired by all of us (I understand plenty here run csound
>>>> directly from the source directory and this would get in the way).
>>>> The second notorious change is that SConstruct2 does not try to guess
>>>> what to build or not. All flags default to off, and if some flag is
>>>> requested and scons cannot find the required dependencies, it will
>>>> fail with an error message instead of disabling the features/opcodes.
>>>> I think this is saner than the old behaviour. Also, it allows scons to
>>>> check only for needed dependencies, and don't bother with unwanted
>>>> features dependencies.
>>>>
>>>> I think I had a few other issues, but I am away now and cannot check.
>>>> I will try to update it again when I go back, in early August.
>>>>
>>>> On 12/07/2009, Michael Gogins wrote:
>>>>> Felipe:
>>>>>
>>>>> Does Sconstruct2 build all targets on all platforms now? If so we
>>>>> should remove the old SConstruct.
>>>>>
>>>>> DavidW:
>>>>>
>>>>> There are 2 issues with QuteCsound, one is that the license has to be
>>>>> changed to LGPL which requires rebuilding QuteCsound with the latest
>>>>> version of Qt, the other is that I would to try adding support for
>>>>> running Lua and Python in QuteCsound, which means I have to add and
>>>>> change some things in the sources.
>>>>>
>>>>> Regards,
>>>>> Mike
>>>>>
>>>>>
>>>>> On 7/11/09, Felipe Sateler wrote:
>>>>> > You may want to look at SConstruct2, which already has split the
>>>>> > language interfaces into their own libraries. IIRC (I dont have the
>>>>> > sources here), the relevant file should be interfaces/SConscript (I
>>>>> > split the files for easier maintainance).
>>>>> >
>>>>> > On 11/07/2009, Michael Gogins wrote:
>>>>> >> I propose the following changes to SConstruct, which I will implement
>>>>> >> in the next few days if there are no objections:
>>>>> >>
>>>>> >> (1) Re-organize the "examples" directory. The top level will contain
>>>>> >> pieces that show off what Csound can do, currently trapped and
>>>>> >> xanadu.
>>>>> >> Then there will be an opcodes_demo directory to show off what
>>>>> >> particular opcodes do, like bilbar. Then each language interface will
>>>>> >> have its own directory (c, cplusplus, java, python, lua, lisp).
>>>>> >>
>>>>> >> (2) Re-organize the various language API libraries so that each
>>>>> >> language has its own shared library (C/C++, Python, Java, Lua).
>>>>> >> Currently, several API wrappers get built into the same shared
>>>>> >> library.
>>>>> >>
>>>>> >> These changes are designed to make Csound more user-friendly, by
>>>>> >> making it easier for beginners to understand the examples, and by
>>>>> >> making it easier to install one language API without also installing
>>>>> >> some other one, e.g. it will be possible to install the Java wrappers
>>>>> >> without the Python or Lua wrappers.
>>>>> >>
>>>>> >> Regards,
>>>>> >> Mike
>>>>> >>
>>>>> >> --
>>>>> >> Michael Gogins
>>>>> >> Irreducible Productions
>>>>> >> http://www.michael-gogins.com
>>>>> >> Michael dot Gogins at gmail dot com
>>>>> >>
>>>>> >> ------------------------------------------------------------------------------
>>>>> >> Enter the BlackBerry Developer Challenge
>>>>> >> This is your chance to win up to $100,000 in prizes! For a limited
>>>>> >> time,
>>>>> >> vendors submitting new applications to BlackBerry App World(TM) will
>>>>> >> have
>>>>> >> the opportunity to enter the BlackBerry Developer Challenge. See full
>>>>> >> prize
>>>>> >> details at: http://p.sf.net/sfu/Challenge
>>>>> >> _______________________________________________
>>>>> >> Csound-devel mailing list
>>>>> >> Csound-devel@lists.sourceforge.net
>>>>> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> >>
>>>>> >
>>>>> >
>>>>> > --
>>>>> >
>>>>> > Saludos,
>>>>> > Felipe Sateler
>>>>> >
>>>>> > ------------------------------------------------------------------------------
>>>>> > Enter the BlackBerry Developer Challenge
>>>>> > This is your chance to win up to $100,000 in prizes! For a limited
>>>>> > time,
>>>>> > vendors submitting new applications to BlackBerry App World(TM) will
>>>>> > have
>>>>> > the opportunity to enter the BlackBerry Developer Challenge. See full
>>>>> > prize
>>>>> > details at: http://p.sf.net/sfu/Challenge
>>>>> > _______________________________________________
>>>>> > Csound-devel mailing list
>>>>> > Csound-devel@lists.sourceforge.net
>>>>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> >
>>>>>
>>>>>
>>>>> --
>>>>> Michael Gogins
>>>>> Irreducible Productions
>>>>> http://www.michael-gogins.com
>>>>> Michael dot Gogins at gmail dot com
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Enter the BlackBerry Developer Challenge
>>>>> This is your chance to win up to $100,000 in prizes! For a limited time,
>>>>> vendors submitting new applications to BlackBerry App World(TM) will
>>>>> have
>>>>> the opportunity to enter the BlackBerry Developer Challenge. See full
>>>>> prize
>>>>> details at: http://p.sf.net/sfu/Challenge
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Saludos,
>>>> Felipe Sateler
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Enter the BlackBerry Developer Challenge
>>>> This is your chance to win up to $100,000 in prizes! For a limited time,
>>>> vendors submitting new applications to BlackBerry App World(TM) will have
>>>> the opportunity to enter the BlackBerry Developer Challenge. See full
>>>> prize
>>>> details at: http://p.sf.net/sfu/Challenge
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>>
>>> --
>>> Michael Gogins
>>> Irreducible Productions
>>> http://www.michael-gogins.com
>>> Michael dot Gogins at gmail dot com
>>>
>>> ------------------------------------------------------------------------------
>>> Enter the BlackBerry Developer Challenge
>>> This is your chance to win up to $100,000 in prizes! For a limited time,
>>> vendors submitting new applications to BlackBerry App World(TM) will have
>>> the opportunity to enter the BlackBerry Developer Challenge. See full
>>> prize
>>> details at: http://p.sf.net/sfu/Challenge
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> ------------------------------------------------------------------------------
>> Enter the BlackBerry Developer Challenge
>> This is your chance to win up to $100,000 in prizes! For a limited time,
>> vendors submitting new applications to BlackBerry App World(TM) will have
>> the opportunity to enter the BlackBerry Developer Challenge. See full prize
>> details at: http://p.sf.net/sfu/Challenge
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |