Opened 18 years ago
Closed 17 years ago
#1295 closed patch (wontfix)
Patch to allow seperate build directory
Reported by: | Dibblah | Owned by: | Isaac Richards |
---|---|---|---|
Priority: | trivial | Milestone: | 0.21 |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
This patch allows the following to work:
mkdir ~/mythbuild cd ~/mythbuild /usr/src/mythtv/configure make make install
- the source directory is completely seperated from the build directory. The source directory is not modified during the build.
It's fairly hacky, but consistently so:
qmake, when it include ( )s a file, changes into the directory of that file first. This means that it's not possible to easily centralise these changes.
Headers do not seem to get pulled in from the VPATH if they're located away from the current build directory - Hence the modifications to the INCLUDEPATHs.
A couple of #include "mythconfig.h" needed changed to #include "config.h" to make picking up the configuration from the build directory easier.
If you are compiling in the same directory as the source, this change has no effect at all.
It has only been tested on x86. I can't see how it'd break other architectures, but it is probably worth mentioning.
Attachments (6)
Change History (10)
Changed 18 years ago by
Attachment: | mythseperatebuild.diff added |
---|
Changed 18 years ago by
Attachment: | mythseperatebuild2.diff added |
---|
Changed 18 years ago by
Attachment: | mythseperatebuild3.diff added |
---|
Updated to SVN 9838, bugfix (don't recurse into created links), make sure all new / less used .pros have been updated
comment:1 Changed 18 years ago by
Milestone: | unknown → 0.20 |
---|---|
Owner: | changed from Isaac Richards to danielk |
comment:2 Changed 18 years ago by
Owner: | changed from danielk to Isaac Richards |
---|
Was waiting on an updated patch before applying this..
Changed 18 years ago by
Attachment: | mythseperatebuild5.diff added |
---|
Updated to 10224. Not ready for commit - svn version number doesn't work properly
Changed 18 years ago by
Attachment: | mythseperatebuild6.diff added |
---|
Fixes previous bug with svnversion and themes not being installed
comment:3 Changed 18 years ago by
Milestone: | 0.20 → 0.21 |
---|
comment:4 Changed 17 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Closed at the request of the ticket reporter.
Remove debug echo. No other changes.