Using Eclipse or "cat' to merge C++ classes / files into one [message #1820508] |
Wed, 22 January 2020 02:24 |
Helen Keller Messages: 173 Registered: June 2019 |
Senior Member |
|
|
I hope this will not be throw out as "not an Eclipse problem".
I have developed two independent application for bluetooth.
Now I am finding out it woudl be beneficial to have ONE common class instead of two similar but not identical classes.
It woudl be preferred to have SINGLE , same named class which woudl merge current classes methods and variables together.
I did try plain IDE copy - but it wants to "override" the " copy to " file. No good.
I can IDE "select all" and copy ,and then clean up the dupes.
I understand "cat" would append / concatenate files - which woudl create duplicates.
That will work to a degree , but if there is a better way , I am game.
When I figure out how to merge the existing classes I am planing to add another project to the L:aunch Group where such common classes will be referenced.
That way there will be only one place to keep updating / debugging .
|
|
|
Powered by
FUDForum. Page generated in 0.02968 seconds