cmake. refactor installing python things to not have absolute path's

buildbot. add rudementatry cpack based packing for cmake path
This commit is contained in:
Martijn Berger
2014-11-11 15:47:22 +01:00
parent f25f1a6688
commit e43c5fa005
2 changed files with 36 additions and 41 deletions

View File

@@ -115,6 +115,11 @@ if builder.find('scons') != -1:
retcode = subprocess.call([python_bin, 'scons/scons.py'] + scons_options)
sys.exit(retcode)
else:
#cmake
if 'win' in builder:
retcode = subprocess.call(['cpack', '-G','ZIP'])
sys.exit(retcode)
# clean release directory if it already exists
release_dir = 'release'