Home » Developing U++ » U++ Developers corner » workspace-like package
workspace-like package [message #19785] |
Sun, 18 January 2009 20:45 |
Novo
Messages: 1371 Registered: December 2006
|
Ultimate Contributor |
|
|
I'd like to create an UPP package, which works similar to Visual Studio workspace.
Example:
1) I have a package, which builds a DLL (has DLL as a target);
2) I have a package, which builds an executable, and I'd like to link this executable against DLL. Logical solution would be to add first package to "uses" of the second package because application uses the DLL, and let TheIDE manage the rest.
Unfortunately, this configuration doesn't seem to work. I either have to build each package separately (and manually add path and library name to the second package), or I need to link all as one piece (completely monolith application, no DLLs as modules).
Or, probably, I'm missing something in package-assembly-nest concept.
TIA
Regards,
Novo
|
|
|
|
Re: workspace-like package [message #20124 is a reply to message #19785] |
Thu, 19 February 2009 19:16 |
|
mirek
Messages: 14039 Registered: November 2005
|
Ultimate Member |
|
|
Novo wrote on Sun, 18 January 2009 14:45 | I'd like to create an UPP package, which works similar to Visual Studio workspace.
Example:
1) I have a package, which builds a DLL (has DLL as a target);
2) I have a package, which builds an executable, and I'd like to link this executable against DLL. Logical solution would be to add first package to "uses" of the second package because application uses the DLL, and let TheIDE manage the rest.
Unfortunately, this configuration doesn't seem to work. I either have to build each package separately (and manually add path and library name to the second package), or I need to link all as one piece (completely monolith application, no DLLs as modules).
Or, probably, I'm missing something in package-assembly-nest concept.
TIA
|
The unsolved problem there is that it is perhaps a little bit hard to decide what package should be created as .dll in the current model.
I am thinking about the model of "multiple main packages" and one "supermain" (just to know which .exe should be executed), but it is hard to say if that would work well.
As there are still many other problems with .dll, I sort of hesitate to proceed. (And of course, I dislike .dlls as maintainance nightmare, but that is another topic
Mirek
P.S.: Moving this to technology forum.
|
|
|
|
|
Goto Forum:
Current Time: Sat Sep 21 03:02:23 CEST 2024
Total time taken to generate the page: 0.03720 seconds
|