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
-
Hello everybody,
while creating our
CMakeLists.txt
template 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.projectSrcFiles
as well asproject.commonSrcFiles
seem to be members of theProject
class 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.java
main:project.addCommonSrcFile(relative_dir + ctx.getFilename() + ".cxx");
This clearly works and the template replacement works as well, so the generated
MyIDL.cxx
is added to SOMEcommonSrcFile
list... but where is it?Neither by text editor nor by using an IDE I was able to follow the trace of
addCommonSrcFile
or theproject.commonSrcFiles
list inCMakeLists.stg
Would be great if someone can clarify this :-)
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions