[Scons-users] how to write intel -ipo-c in sconstruct

William Blevins wblevins001 at gmail.com
Fri Aug 8 21:18:59 EDT 2014


If you are looking for a way to grab all the files in a directory, you can
use Glob().  It takes a regular expression as an argument, so you can do
Glob( "*.cpp" ) or something similar.

http://www.scons.org/doc/production/HTML/scons-user.html#idp173272

V/R,
William


On Fri, Aug 8, 2014 at 9:02 PM, Guo, Gcwenken <gcwenken.guo at ttu.edu> wrote:

> Hi:
>    I need to use intel icpc -ipo-c function so I want to turn the
> following stuff into sconstruct script
>    icpc -ipo -c a.cpp
>    icpc -ipo -c b.cpp
>    icpc -ipo-c a.o b.o -o i.o (*)
>    g++ -c c.cpp
>    g++ c.o i.o -o exe
>
>    I have no idea how to implement (*) in the sconstruct. Any idea?
>
> Chaowen GUO
> _______________________________________________
> 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/20140808/1c9b0b58/attachment-0001.html>


More information about the Scons-users mailing list