diff options
Diffstat (limited to 'CIAO/CIDLC/cidlc.cpp')
-rw-r--r-- | CIAO/CIDLC/cidlc.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/CIAO/CIDLC/cidlc.cpp b/CIAO/CIDLC/cidlc.cpp index c105e80d8a7..cb33707e8a2 100644 --- a/CIAO/CIDLC/cidlc.cpp +++ b/CIAO/CIDLC/cidlc.cpp @@ -138,9 +138,16 @@ main (int argc, char* argv[]) "Run preprocessor only and output result to stdout.", CL::OptionType::flag)); + cld.add_option (CL::OptionDescription ("suppress-lem", + "Suppress generation of local executor mapping", + CL::OptionType::flag)); + + cld.add_option (CL::OptionDescription ("suppress-svnt", + "Suppress generation of servant code", + CL::OptionType::flag)); + cld.add_argument ("cidl file"); - CommandLine cl; if (!parse (argc, argv, cld, cl)) @@ -330,6 +337,7 @@ main (int argc, char* argv[]) // Generate executor mapping. + if (!cl.get_value ("suppress-lem", false)) { ExecutorMappingGenerator lem_gen; lem_gen.generate (cl, tu, file_path); @@ -349,6 +357,7 @@ main (int argc, char* argv[]) } // Generate servant code. + if (!cl.get_value ("suppress-svnt", false)) { ServantGenerator svnt_gen (cl); svnt_gen.generate (tu, file_path); |