Home » Developing U++ » U++ Developers corner » Include option for specific package
Re: Include option for specific package [message #22194 is a reply to message #22193] |
Tue, 23 June 2009 20:06 |
|
mirek
Messages: 13976 Registered: November 2005
|
Ultimate Member |
|
|
Sender Ghost wrote on Tue, 23 June 2009 11:25 | In my current opinion, you just want to use unsuitable tool.
Packages are independent from absolute paths, therefore they are portable.
If you saw U++ code organization you can understand how your code must be organized to accomplish U++ modules approach.
Assembly "knows" about absolute paths and where to find Packages (which is disguised form of include search path directories for compiler). So, changes for paths should be on Assembly level.
I suggest you to use new Assembly, e.g. XlsLibApps with following options:
Package nest: C:\XlsLibApps;C:\XlsLibApps\lib\src\oledoc; \
C:\XlsLibApps\lib\src\xlslib;C:\XlsLibApps\lib\src\common; \
C:\XlsLibApps\lib\src\data;C:\MyApps;C:\upp\uppsrc
Output directory: C:\upp\out
Assembly name: XlsLibApps
to Mirek:
You can improve selection of Package nest directories or just add new option (e.g. ArrayCtrl) for include search paths.
|
Actually, the intended place for include path is build method...
Anyway, the problem we are trying to solve here is that when adapting existing code as U++ package (in this case, existing library capable of parsing XLS files), you have to solve the issue that sources can have its own directory structure, including special folders for .h.
Up to now, we usually fixed the issue by editing sources (#include <foo/bar.h> -> #include "bar.h"). Anyway, I have to agree that it can get long in teeth over time.
That is why I agree there is some problem to solve. But based on experience with "Add any file" to package, I would like to stay clean of any form hinting to the idea that the package is the place to define include path...
Mirek
|
|
|
|
|
Include option for specific package
By: tojocky on Wed, 10 June 2009 10:39
|
|
|
Re: Include option for specific package
By: koldo on Wed, 10 June 2009 16:00
|
|
|
Re: Include option for specific package
|
|
|
Re: Include option for specific package
By: tojocky on Wed, 10 June 2009 17:10
|
|
|
Re: Include option for specific package
By: masu on Wed, 10 June 2009 17:15
|
|
|
Re: Include option for specific package
By: tojocky on Wed, 10 June 2009 17:33
|
|
|
Re: Include option for specific package
By: masu on Wed, 10 June 2009 17:42
|
|
|
Re: Include option for specific package
By: tojocky on Wed, 10 June 2009 17:55
|
|
|
Re: Include option for specific package
By: masu on Wed, 10 June 2009 18:16
|
|
|
Re: Include option for specific package
By: tojocky on Wed, 10 June 2009 19:00
|
|
|
Re: Include option for specific package
By: masu on Wed, 10 June 2009 19:58
|
|
|
Re: Include option for specific package
|
|
|
Re: Include option for specific package
By: koldo on Wed, 10 June 2009 23:58
|
|
|
Re: Include option for specific package
By: tojocky on Thu, 11 June 2009 07:45
|
|
|
Re: Include option for specific package
By: masu on Thu, 11 June 2009 11:48
|
|
|
Re: Include option for specific package
|
|
|
Re: Include option for specific package
By: mirek on Thu, 11 June 2009 19:13
|
|
|
Re: Include option for specific package
By: tojocky on Thu, 11 June 2009 21:02
|
|
|
Re: Include option for specific package
|
|
|
Re: Include option for specific package
By: mirek on Thu, 11 June 2009 22:48
|
|
|
Re: Include option for specific package
By: tojocky on Sun, 14 June 2009 00:58
|
|
|
Re: Include option for specific package
By: tojocky on Sun, 14 June 2009 09:08
|
|
|
Re: Include option for specific package
By: mirek on Mon, 15 June 2009 09:15
|
|
|
Re: Include option for specific package
By: tojocky on Mon, 15 June 2009 09:56
|
|
|
Re: Include option for specific package
By: mirek on Sun, 21 June 2009 19:22
|
|
|
Re: Include option for specific package
By: tojocky on Tue, 23 June 2009 10:14
|
|
|
Re: Include option for specific package
By: mirek on Tue, 23 June 2009 11:38
|
|
|
Re: Include option for specific package
By: koldo on Tue, 23 June 2009 12:15
|
|
|
Re: Include option for specific package
By: mirek on Tue, 23 June 2009 12:30
|
|
|
Re: Include option for specific package
By: tojocky on Tue, 23 June 2009 13:18
|
|
|
Re: Include option for specific package
By: mirek on Tue, 23 June 2009 17:10
|
|
|
Re: Include option for specific package
By: koldo on Tue, 23 June 2009 16:30
|
|
|
Re: Include option for specific package
By: mirek on Tue, 23 June 2009 17:09
|
|
|
Re: Include option for specific package
By: tojocky on Tue, 23 June 2009 21:15
|
|
|
Re: Include option for specific package
By: mirek on Tue, 23 June 2009 23:26
|
|
|
Re: Include option for specific package
By: koldo on Wed, 24 June 2009 00:40
|
|
|
Re: Include option for specific package
By: mr_ped on Wed, 24 June 2009 10:09
|
|
|
Re: Include option for specific package
By: koldo on Wed, 24 June 2009 10:59
|
|
|
Re: Include option for specific package
By: tojocky on Wed, 24 June 2009 13:28
|
|
|
Re: Include option for specific package
By: mirek on Wed, 24 June 2009 19:38
|
|
|
Re: Include option for specific package
By: tojocky on Thu, 25 June 2009 13:20
|
|
|
Re: Include option for specific package
By: mirek on Sun, 28 June 2009 21:53
|
|
|
Re: Include option for specific package
By: tojocky on Mon, 29 June 2009 14:49
|
|
|
Re: Include option for specific package
By: mirek on Mon, 29 June 2009 19:41
|
|
|
Re: Include option for specific package
By: mirek on Mon, 29 June 2009 19:56
|
|
|
Re: Include option for specific package
By: tojocky on Tue, 30 June 2009 16:42
|
|
|
Re: Include option for specific package
By: mirek on Tue, 30 June 2009 17:17
|
|
|
Re: Include option for specific package
By: tojocky on Tue, 30 June 2009 17:19
|
|
|
Re: Include option for specific package
|
|
|
Re: Include option for specific package
By: tojocky on Tue, 23 June 2009 15:39
|
|
|
Re: Include option for specific package
|
|
|
Re: Include option for specific package
By: mirek on Tue, 23 June 2009 20:06
|
Goto Forum:
Current Time: Thu May 09 10:38:46 CEST 2024
Total time taken to generate the page: 0.01623 seconds
|