Merge pull request #4668 from adamscott/template-pool-to-scons_pool
[scons.git] / doc / generated / examples / variants_ex_1.xml
blob1b9a0af3a932254bf7cc8f36578ea7d39905b68a
1 <screen xmlns="http://www.scons.org/dbxsd/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.scons.org/dbxsd/v1.0 http://www.scons.org/dbxsd/v1.0/scons.xsd">% <userinput>scons -Q OS=linux</userinput>
2 Install file: "build/linux/world/world.h" as "export/linux/include/world.h"
3 cc -o build/linux/hello/hello.o -c -Iexport/linux/include build/linux/hello/hello.c
4 cc -o build/linux/world/world.o -c -Iexport/linux/include build/linux/world/world.c
5 ar rc build/linux/world/libworld.a build/linux/world/world.o
6 ranlib build/linux/world/libworld.a
7 Install file: "build/linux/world/libworld.a" as "export/linux/lib/libworld.a"
8 cc -o build/linux/hello/hello build/linux/hello/hello.o -Lexport/linux/lib -lworld
9 Install file: "build/linux/hello/hello" as "export/linux/bin/hello"
10 </screen>