SCons behavior with version information in target name

Hans-Christian Wild <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <CA+rbir-1h5wTPyRLxzBhvTEN2BZhWGewxZbtCUV3jBMqrCBmQw@mail.gmail.com>
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?

_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.