Errors compiling DSSS

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Nov 27 08:09:39 PST 2012


On 11/27/12 10:42 AM, Jacob Carlborg wrote:
> On 2012-11-27 13:50, Gor Gyolchanyan wrote:
>> There's a good reason why all libraries come with their build scripts,
>> rather then rely on the client to build them as necessary. The reason is
>> that the source code is where the necessary building conditions are
>> defined, even if as a separate file. You can't write anything more, then
>> a 100 LOC source file without having to make a build script. The source
>> files in a project heavily depend on the build script to produce the
>> correct result. This is why I don't see any reason why building process
>> should be separated from the source code.
>
> I don't understand what you're saying. Of course the build scripts need
> to be shipped with the library. I just don't think you should put the
> build script inline with the source code. I think it should be a
> separate file.

I think it's best to offer the choice.

Andrei




More information about the Digitalmars-d mailing list