summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Main.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2012-03-15 21:18:44 +0100
committerJose <jose@zeroc.com>2012-03-15 21:18:44 +0100
commit4a1627793f9e20381e026bc74e117dcbded7a6dc (patch)
tree9f77d47757cfa800334490dccf096ef4dee2ec16 /cpp/src/slice2cpp/Main.cpp
parentICE-4745 - Freeze serialization throws Ice.MemoryLimitException (diff)
downloadice-4a1627793f9e20381e026bc74e117dcbded7a6dc.tar.bz2
ice-4a1627793f9e20381e026bc74e117dcbded7a6dc.tar.xz
ice-4a1627793f9e20381e026bc74e117dcbded7a6dc.zip
ICE-4791 - Include generated header in dependency rules emitted by slice2cpp.
Diffstat (limited to 'cpp/src/slice2cpp/Main.cpp')
-rw-r--r--cpp/src/slice2cpp/Main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/slice2cpp/Main.cpp b/cpp/src/slice2cpp/Main.cpp
index a55b72b873b..408f397e064 100644
--- a/cpp/src/slice2cpp/Main.cpp
+++ b/cpp/src/slice2cpp/Main.cpp
@@ -100,6 +100,7 @@ compile(int argc, char* argv[])
opts.addOpt("", "dll-export", IceUtilInternal::Options::NeedArg);
opts.addOpt("", "impl");
opts.addOpt("", "depend");
+ opts.addOpt("", "depend-header");
opts.addOpt("d", "debug");
opts.addOpt("", "ice");
opts.addOpt("", "underscore");
@@ -220,7 +221,7 @@ compile(int argc, char* argv[])
return EXIT_FAILURE;
}
- if(!icecpp->printMakefileDependencies(Preprocessor::CPlusPlus, includePaths, sourceExtension))
+ if(!icecpp->printMakefileDependencies(Preprocessor::CPlusPlus, includePaths, sourceExtension, headerExtension))
{
return EXIT_FAILURE;
}