Home » U++ TheIDE » U++ TheIDE: Packages » Subdirectories in packages
Subdirectories in packages [message #32686] |
Thu, 02 June 2011 07:37 |
|
Hello!
Right now I'm trying to use OpenCV 2.2. It's special feature is that all its headers are organized using subfolders (which is great BTW). Now I'm trying to make a package of these headers and meet few problems at once:
1. I can't import whole subtree of headers into package. More like I can, but all the hieracity "flattens" and, obviously, all cross-references between headers breaks.
2. If I just copy whole include dir into my package dir and add each file (tiresome, yep ) manually using "Insert package directory file(s)" (why can't I do it to dirs BTW?), it still doesn't solve my problem, because, somehow, all includes in these headers are invalid once again 'cause they do not include package name! Let me show you an example:
I made a package opencv22 and filled it with headers (with subdirs).
Then, I add "#include <opencv22/opencv2/opencv.hpp>" into my header. It worked.
But then I have a string "#include "opencv2/core/core_c.h"" in this file, which is invalid. The valid ones are "#include "core/core_c.h"" and "#include <opencv22/opencv2/core/core_c.h>".
I really wouldn't like to correct each and every #include directive in opencv code. Maybe there is a better way to fix it?
For clarity I attach package I made.
-
Attachment: opencv22.rar
(Size: 328.94KB, Downloaded 362 times)
|
|
|
Goto Forum:
Current Time: Wed Apr 24 04:41:19 CEST 2024
Total time taken to generate the page: 0.02094 seconds
|