Mercurial > public > cpp-enigma
annotate enigma/SConscript @ 11:da231533c5c7
To support hill climbing and fewer enigma machine constructor calls, the
enigma machine now uses shared_ptr instead of unique_ptr.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 29 Jun 2012 23:20:33 -0500 |
parents | 2792ca4ffa84 |
children | aa7a4298d609 |
rev | line source |
---|---|
bgneal@0 | 1 Import('env') |
bgneal@0 | 2 |
bgneal@0 | 3 sources = Split(""" |
bgneal@4 | 4 enigma_utils.cpp |
bgneal@0 | 5 rotor.cpp |
bgneal@1 | 6 rotor_factory.cpp |
bgneal@3 | 7 plugboard.cpp |
bgneal@4 | 8 machine.cpp |
bgneal@0 | 9 """) |
bgneal@0 | 10 |
bgneal@0 | 11 env.StaticLibrary('enigma', sources) |
bgneal@2 | 12 |
bgneal@2 | 13 SConscript(['tests/SConscript'], exports='env', variant_dir='build', duplicate=0) |