blob: a2e4fdd4b9780543487132b64674a56cf3589e6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/usr/bin/env python
# **********************************************************************
#
# Copyright (c) 2003-2017 ZeroC, Inc. All rights reserved.
#
# This copy of Ice is licensed to you under the terms described in the
# ICE_LICENSE file included in this distribution.
#
# **********************************************************************
import sys, Ice, IcePy
def main():
sliceDir = Ice.getSliceDir()
# Automatically add the slice dir.
if not sliceDir is None:
sys.argv.append('-I' + sliceDir)
val = IcePy.compile(sys.argv)
sys.exit(int(val))
|