diff options
Diffstat (limited to 'cpp/src/slice2py')
-rw-r--r-- | cpp/src/slice2py/Main.cpp | 2 | ||||
-rw-r--r-- | cpp/src/slice2py/Makefile.mak | 31 |
2 files changed, 32 insertions, 1 deletions
diff --git a/cpp/src/slice2py/Main.cpp b/cpp/src/slice2py/Main.cpp index 5b625547355..921448ba32b 100644 --- a/cpp/src/slice2py/Main.cpp +++ b/cpp/src/slice2py/Main.cpp @@ -415,7 +415,7 @@ main(int argc, char* argv[]) vector<string> args; try { - args = opts.parse(argc, argv); + args = opts.parse(argc, (const char**)argv); } catch(const IceUtil::Options::BadOpt& e) { diff --git a/cpp/src/slice2py/Makefile.mak b/cpp/src/slice2py/Makefile.mak new file mode 100644 index 00000000000..ace0362ff91 --- /dev/null +++ b/cpp/src/slice2py/Makefile.mak @@ -0,0 +1,31 @@ +# ********************************************************************** +# +# Copyright (c) 2003-2006 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. +# +# ********************************************************************** + +top_srcdir = ..\.. + +NAME = $(top_srcdir)\bin\slice2py.exe + +TARGETS = $(NAME) + +OBJS = Main.o + +SRCS = $(OBJS:.o=.cpp) + +!include $(top_srcdir)/config/Make.rules.mak + +CPPFLAGS = -I. $(CPPFLAGS) + +$(NAME): $(OBJS) + del /q $@ + $(LINK) $(LD_EXEFLAGS) $(OBJS), $@,, slice$(LIBSUFFIX).lib $(BASELIBS) + +install:: all + copy $(NAME) $(install_bindir) + +!include .depend |