
Thanks to @redsaurus we've now got (partial) 64-bit support. The game and sounds dll now compile under x64. I've also added a simple python configure script (based off of Arancaytar's cburschka/cadence script) to quickly allow changing compilers. Gone are the days of three different Makefiles!
31 lines
694 B
Python
Executable File
31 lines
694 B
Python
Executable File
#!/usr/bin/env python
|
|
import argparse
|
|
import os
|
|
import shutil
|
|
import subprocess
|
|
|
|
def main():
|
|
args = parser().parse_args()
|
|
src_path = os.path.dirname(__file__) or '.'
|
|
|
|
# shutil.copy(os.path.realpath(src_path) + '/Makefile.in', os.getcwd() + '/Makefile')
|
|
|
|
open('.config.vars', 'w+').write(
|
|
'''PREFIX={prefix}
|
|
'''.format(**vars(args)))
|
|
|
|
|
|
def parser():
|
|
parser = argparse.ArgumentParser(
|
|
prog='configure',
|
|
description='''Configure cboe automated build system.
|
|
'''
|
|
)
|
|
parser.add_argument(
|
|
'-c', '--compiler', type=str,
|
|
help='Compiler prefix, such as i686-w64-mingw32-', dest='prefix', metavar='PREFIX', default=''
|
|
)
|
|
return parser
|
|
|
|
main()
|