I'm simply trying to compile some ild files. What arguments can I include to prevent the plugin and support files from being generated?
My command line command is something like:
pathToRTIDDSGEN -inputIdl pathToInput -d pathToOutputCompiledFiles -replace -language C++ -namespace -optimization 2 -verbosity 3
Hello,
As far as I'm aware, what you intend to do is not possible. RTI Code Generator has three output kinds:
typefiles: These are the Language Bindings of the DataType definition, including TypePlugin and TypeSupport if applicable.
makefiles: These are the Project definitions and/or Build files for the examples.
By default, if no -example, -create or -update flag is used, RTI Code Generator will generate the typefiles.
What do you intend to do? If what you want to achieve is using RTI Connext DDS to publish samples, you will require the whole typefiles.
Regards,
Alejandro
Hi,
I think it is possible to not generate the type support and plugin files.
An easy way to see the various command options you can use wirth rtiddsgen is to use the RTI Launcher UI. From RTI Launcher if you click on the "Code Generatot" you get a window (see the attached image).
You can see 3 pulldown menus that controls the genared code, separated into 3 categories:
For each of these categoreis you can select "create", "update", or "<disable>".
You can run rtiddsgen directly from the UI, or use it as a way to see which command-line options you need to use. You do this checking the "Conferm command" button next to the "Run" button. If you check this, then the "Run" button changes to a "Check" buttoon and when you click on it you get a popup with the command-lien options that would be passed to rtiddsgen.
For example, if you juist wanted to create the makefile and the example files but not generate or modify the plugin and support files, then you could select <disable> in the "Type files" menu, and click on the "Check button". You will see the attached popup. You can copy paste the comamnd line parametes from there so you would get somethign like:
rtiddsgen -ppDisable -language C++ -create examplefiles -create makefiles -platform x64Darwin17clang9.0. <path_to_the_DL_file>
I tried it out and this does not generate the type pligin/support files.
Gerardo
Thank you for your response, Gerardo. The check button pop-up is very helpful.
v/r CG