comparison enigma/SConscript @ 4:2792ca4ffa84

Created enigma_machine class and tests.
author Brian Neal <bgneal@gmail.com>
date Sun, 24 Jun 2012 18:39:05 -0500
parents f4e25e6b76c3
children aa7a4298d609
comparison
equal deleted inserted replaced
3:f4e25e6b76c3 4:2792ca4ffa84
1 Import('env') 1 Import('env')
2 2
3 sources = Split(""" 3 sources = Split("""
4 enigma_utils.cpp
4 rotor.cpp 5 rotor.cpp
5 rotor_factory.cpp 6 rotor_factory.cpp
6 plugboard.cpp 7 plugboard.cpp
8 machine.cpp
7 """) 9 """)
8 10
9 env.StaticLibrary('enigma', sources) 11 env.StaticLibrary('enigma', sources)
10 12
11 SConscript(['tests/SConscript'], exports='env', variant_dir='build', duplicate=0) 13 SConscript(['tests/SConscript'], exports='env', variant_dir='build', duplicate=0)