Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Include option for specific package
Re: Include option for specific package [message #21919 is a reply to message #21918] Wed, 10 June 2009 17:55 Go to previous messageGo to previous message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

masu wrote on Wed, 10 June 2009 18:42

It works for me, I just moved a header file in one of my projects to "C:\temp" and added Compiler option -Ic:/temp to the main package.
Then I changed references to the moved header to <xxx.h> (I used "xxx.h" before) and it is found and the project compiles.
You may also have to change your references to header file then.

Matthias


Ok, I thing that I will be understanding in real example:

I have a package located in:
D:\ILupascu\sourcecode\cpp\upp\MyApps\xlslib\

I need add include libs for directories:
D:\ILupascu\sourcecode\cpp\upp\MyApps\xlslib\lib\src\oledoc\
D:\ILupascu\sourcecode\cpp\upp\MyApps\xlslib\lib\src\xlslib\
D:\ILupascu\sourcecode\cpp\upp\MyApps\xlslib\lib\src\common\
D:\ILupascu\sourcecode\cpp\upp\MyApps\xlslib\lib\src\data\

As you see this is located in sub folder of package. this package I can relocated and include libraries will located too.

I propose to add in Package organizer an option "Include option" that in option will be only:

/lib/src/oledoc
/lib/src/xlslib
/lib/src/common
/lib/src/data

In compiling the package which have this include options or use an package which have this compiling option, U++ will set to compiler include option the full path of this 4 directories.

If I do not use this option U++ will not set this include options.

Like this situation I can add as example SDL packages.

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Abstract Draw
Next Topic: CeGCC
Goto Forum:
  


Current Time: Thu May 09 09:13:06 CEST 2024

Total time taken to generate the page: 0.03677 seconds