Configure file, partial 64-bit support

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!
This commit is contained in:
Sylae Jiendra Corell
2014-06-17 14:36:17 -06:00
parent a4430cdf5a
commit 29906153cf
113 changed files with 86 additions and 247 deletions

30
Win32/configure vendored Executable file
View File

@@ -0,0 +1,30 @@
#!/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()