diff -r f8ac2633b4e3 -r fc3f34f928dd src/AMBuild.shell --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/AMBuild.shell Wed Jul 25 00:13:02 2012 -0700 @@ -0,0 +1,19 @@ +# vim: set ts=2 sw=2 tw=99 noet ft=python: +import os +import ambuild.osutil as osutil + +compiler = KE.DefaultCompiler() +compiler.AddToListVar('CXXINCLUDES', os.path.join(AMBuild.sourceFolder, 'include')) + +library = osutil.StaticLibPrefix() + 'keima' + osutil.StaticLibSuffix() +compiler.AddToListVar('POSTLINKFLAGS', '/SUBSYSTEM:CONSOLE') +compiler.AddToListVar('POSTLINKFLAGS', os.path.join(AMBuild.outputFolder, 'keima', library)) + +job = AMBuild.AddJob('spshell') +binary = Cpp.ExecutableBuilder('spshell', AMBuild, job, compiler) +files = [ + 'main.cpp' + ] +binary.AddSourceFiles('src', files) +binary.SendToJob() +