Make includes relative to project root

Description

It would be nice to have all the includes in fix8 source tree to be relative to project root. Like, instead of just including <f8includes.hpp>, make it "$PROJECT_ROOT/f8includes.hpp". That would help IDE to find includes in project w/o tweaking IDE paths.
BTW, all the public includes could be moved to include folder, sources to src folder, private includes to src folder with corresponding #include to "fix8/include/xxx" an "fix8/src/xxx".

Environment

Ubuntu 13.10 x64 gcc4.8

Activity

Show:
David Dight
November 26, 2013, 3:17 AM

I certainly agree that we should move all includes under a directory called fix8 - this would mean the package build, generated code and installed includes would all point to the same include path.

Not sure about using a project root - the package isn't that big that we would have many dependant sub projects. Anyway for the first phase I am going to fix the problem above. Lets talk more about phase 2 later.

David Dight
January 14, 2014, 1:11 AM

We have implemented the second part of this issue - moving include into directory called fix8. I am going to close this one and we can revisit it later after GA.

Assignee

David Dight

Reporter

Sergey Sedreev

Labels

None

Branch

master

Products

None

Fix versions

Affects versions

Priority

Minor
Configure