SConsを使ってscons test
でテストを実行するには、
SConstruct
1 import os, sys 2 Import('env') 3 env = env.Clone() 4 5 test = env.Program('test', Glob('*.cpp'), LIBS='gtest') 6 test_alias = Alias('test', [test], test[0].abspath) 7 AlwaysBuil d(test_alias )
See Also
posted by
genki
on Tue 2 Mar 2010
at 07:49