summaryrefslogtreecommitdiffstats
path: root/doc/generated/examples/commandline_EnumVariable_1.xml
blob: d658f692c08086153a0c7e5227c571933cc10907 (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 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>