summaryrefslogtreecommitdiffstats
path: root/doc/generated/examples/commandline_EnumVariable_ic1_1.xml
blob: 33f668d451fb6db3ff73140e20f401b706c3ff47 (plain)
1
2
3
4
5
6
7
8
9
<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=BLUE foo.o</userinput>
cc -o foo.o -c -DCOLOR="BLUE" 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>