[Bf-committers] Re: handcrafted makefiles, autotools,
scons and cmake ?
Gilbert, Joseph T.
jgilbert at tigr.ORG
Fri Sep 22 17:08:29 CEST 2006
Here's a little script I put together for automating my build. It's
clickable from the cmake-build/ dir. Not sure if it's useful...
It assumes python and cmake are on the PATH.
#!/usr/bin/env python
#cmake_vc7.1
"""This script autogenerates the cmake vc7.1 .NET 2003 project files
into the ../cmake-build directory
"""
import sys
import string, os
cmd = 'cmake -G "Visual Studio 7 .NET 2003" ../blender'
out = os.popen(cmd)
print 'working...'
for line in out.readlines():
print line[:-1]
raw_input('done....')
error = out.close()
if error:
raise StandardError, 'cmake exited with error %d' % error
More information about the Bf-committers
mailing list