From 436b324ccf7ebb3ac2117ed57cd26e73e6c38ac1 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Thu, 19 Apr 2012 16:45:19 +0000 Subject: [PATCH] Updated the post-build message to be platform-aware --- SConstruct | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/SConstruct b/SConstruct index 4fe995b44..89994ecb3 100644 --- a/SConstruct +++ b/SConstruct @@ -1205,9 +1205,15 @@ if 'samples' in COMMAND_LINE_TARGETS or 'install' in COMMAND_LINE_TARGETS: build_samples = Alias('samples', sampleTargets) def postBuildMessage(target, source, env): - print "**************************************************************" - print "Compiliation complete. Type '[sudo] scons install' to install." - print "**************************************************************" + print "*******************************************************" + print "Compilation completed successfully.\n" + print "- To run the test suite, type 'scons test'." + if os.name == 'nt': + print "- To install, type 'scons install'." + print "- To create a Windows MSI installer, type 'scons msi'" + else: + print "- To install, type '[sudo] scons install'." + print "*******************************************************" finish_build = env.Command('finish_build', [], postBuildMessage) env.Depends(finish_build, buildTargets)