Question about C/C++ Project Page [message #1866009] |
Fri, 17 May 2024 14:25 |
Antoine Dubost Messages: 31 Registered: November 2022 |
Member |
|
|
Hello,
For the C++ code generation in the tool I am developing, I call a class that opens a popup to select the project. Until now, this would open the Papyrus selection page (C++ Project Page) to choose the desired toolchain: Cygwin, MinGW, etc.
Now, when I select the project and confirm the selection, the code generation is automatically launched using Cross GCC.
Have there been any recent changes?
What changes need to be made to retrieve the C++ Project Page ?
I'm using the nightly Papyrus Designer target:
"https://ci.eclipse.org/papyrus/job/papyrus-designer-2023-03/lastSuccessfulBuild/artifact/releng/org.eclipse.papyrus.designer.p2/target/repository/"
If you have any ideas, I would appreciate them!
Thank you.
Antoine
Moreover, even though I have selected the Cygwin toolchain as the "preferred Toolchains" in the preferences ("Make toolchain(s) preferred" in C/C++ -> New C/C++ Project Wizard), it is not being taken into account.
|
|
|
Re: Question about C/C++ Project Page [message #1866171 is a reply to message #1866009] |
Wed, 22 May 2024 12:52 |
|
Dear Antoine,
the creation of C++ projects has changed in the context of separating UI and non-UI plugins (called by Papyrus web in the future). The older implementation requiring the UI is based on the C++ project wizard. It is still available, but has been moved to a new plugin called org.eclipse.papyrus.designer.languages.cpp.cdt.project.ui (the implementation of the existing plugin changed and chooses the first compatible toolchain automatically).
The existing way should still be used by default, if the UI is available, but this is only the case for direct code generation, not if you pass by a transformation chain. Can you please enter a bug? (using the designer gitlab page)
[Updated on: Wed, 22 May 2024 12:53] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04500 seconds