aboutsummaryrefslogtreecommitdiff
path: root/tools/emmakenxx.py
blob: 0af3f99e11814ab4c50af9f702efb3a5676a0629 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env python2

'''
see emmaken.py
'''

import os, subprocess, sys

__rootpath__ = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
def path_from_root(*pathelems):
  return os.path.join(__rootpath__, *pathelems)
sys.path += [path_from_root('')]
from tools.shared import *

emmaken = path_from_root('tools', 'emmaken.py')
os.environ['EMMAKEN_CXX'] = '1'
exit(subprocess.call([PYTHON, emmaken] + sys.argv[1:]))