summaryrefslogtreecommitdiffstats
path: root/doc/generated/examples/commandline_EnumVariable_1.xml
blob: d1d4bed9f202945728ee2248fa11d225090c4fd5 (plain)
1
2
3
4
5
6
7
8
<?xml version="1.0" encoding="UTF-8"?>
<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/scons.xsd 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>