summaryrefslogtreecommitdiffstats
path: root/doc/generated/examples/commandline_EnumVariable_1.xml
blob: d47afd4d0b0337a56278439ec546f33dd1e3c0c6 (plain)
1
2
3
4
5
6
7
<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 COLOR=red foo.o</userinput>
cc -o foo.o -c -DCOLOR="red" foo.c
% <userinput>scons -Q COLOR=blue foo.o</userinput>
cc -o foo.o -c -DCOLOR="blue" foo.c
% <userinput>scons -Q COLOR=green foo.o</userinput>
cc -o foo.o -c -DCOLOR="green" foo.c
</screen>