[Scons-users] SCons behavior with version information in target name

Hans-Christian Wild hchr.wild at gmail.com
Wed Jun 24 18:31:36 EDT 2020


Hi, in the following example:

env = Environment()
filename = 'program-1.0'
program = env.Program(filename, ['main.c'])

SCons behaves fine:

$ scons
gcc -o main.o -c main.c
gcc -o program-1.0*.exe* main.o

When I instead set `filename = 'program-1.0*-beta*'`, the behavior changes
however:

$ scons
gcc -o program-1.0-beta main.o

The file extension is now missing. The correct name would be
program-1.0-beta*.exe*.

Is this expected?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20200625/878f757a/attachment.html>


More information about the Scons-users mailing list