You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
are used to (dynamically) insert a static file list to the CMakeLists including all files to be added to the lib and main program respectively.
Both, project.projectSrcFiles as well as project.commonSrcFiles seem to be members of the Project class in \src\main\java\com\eprosima\fastdds\solution\Project.java.
However, while inspecting this particular file, you can find its private members
This clearly works and the template replacement works as well, so the generated MyIDL.cxx is added to SOME commonSrcFile list... but where is it?
Neither by text editor nor by using an IDE I was able to follow the trace of addCommonSrcFile or the project.commonSrcFiles list in CMakeLists.stg
Would be great if someone can clarify this :-)
Thanks in advance.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everybody,
while creating our
CMakeLists.txttemplate and from looking at the FastDDSGen source templates, I've noticed that the linesand
are used to (dynamically) insert a static file list to the CMakeLists including all files to be added to the lib and main program respectively.
Both,
project.projectSrcFilesas well asproject.commonSrcFilesseem to be members of theProjectclass in\src\main\java\com\eprosima\fastdds\solution\Project.java.However, while inspecting this particular file, you can find its private members
and functions like
public void addProjectSrcFile(String file)which are used to add a file to the source list.
But there is no trace of any "Common" - file list or getter/setter function as used in the
fastddsgen.javamain:project.addCommonSrcFile(relative_dir + ctx.getFilename() + ".cxx");This clearly works and the template replacement works as well, so the generated
MyIDL.cxxis added to SOMEcommonSrcFilelist... but where is it?Neither by text editor nor by using an IDE I was able to follow the trace of
addCommonSrcFileor theproject.commonSrcFileslist inCMakeLists.stgWould be great if someone can clarify this :-)
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions