Scons/funstuff: notify when the binaries are compiled

This commit is contained in:
Jens Verwiebe 2014-10-23 19:19:02 +02:00
parent 179ad7dcba
commit cdf5370159
1 changed files with 3 additions and 0 deletions

View File

@ -813,6 +813,9 @@ def AppIt(target=None, source=None, env=None):
commands.getoutput(cmd)
cmd = 'install_name_tool -change @loader_path/libiomp5.dylib @loader_path/../Resources/lib/libiomp5.dylib %s/%s.app/Contents/MacOS/%s'%(installdir, binary, binary) # change ref to libiomp5 ( blender )
commands.getoutput(cmd)
notification = 'display notification "Finished compiling %s" with title "Blender" sound name "default"'%(binary.upper())
cmd = "osascript -e '%s'"%(notification)
commands.getoutput(cmd)
# extract copy system python, be sure to update other build systems
# when making changes to the files that are copied.