summaryrefslogtreecommitdiffstats
path: root/doc/generated/examples/commandline_EnumVariable_ic2_1.xml
blob: ef24936cc81f1370263858b1e2a7119ad1888085 (plain)
1
2
3
4
5
6
7
<screen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.scons.org/dbxsd/v1.0" 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=nAvY 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>