Hi,
I would create a new file, not modify an existing file. Nothing would be broken.
It was not what I meant, but may be a good alternative. That way I don't have to add all the include directories in my .pro file. Might work if I use relative paths and indeed put all the other files in a consistent location. Just not sure what is used as base path if you use a relative path in a header file. Is it the current project's directory, or the directory of the header file itself. I'll try.
That won't work if the header files themselves include header files.
Well, it wouldn't change anything of the software involved. I compile it from source and create its library. It is only for USING this library that I would like a convenient way to have access to the includes.
Well, I'm not distributing the library or its source code in any form. Also, I only create personal or in-house software, not something that is going to customers. So licensing should be no problem (don't start a flame war now

)
Yes, I now that in Linux/Unix everything is just thrown somewhere in /usr/ or /etc or something and it is different for different distributions, and after installing dozens (versions of) libraries you have no idea what is on your system. I rather put the libraries and their include files in a location of my own choice.
I don't understand why this would be a big no-no. I didn't come up with this idea. Sqlite is distributed as an
'amalgamation' and all includes are also put in 1 big "sqlite3.h". Are you all saying that the sqlite people are wrong ?
Best regards,
Marc
Bookmarks