[ https://issues.apache.org/jira/browse/THRIFT-3072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14393196#comment-14393196 ]
James E. King, III commented on THRIFT-3072: -------------------------------------------- cmake facilitates this quite nicely. I have many years experience with it and ctest (but not so much with cpack). If there is a separate cmake issue in Jira this could be moved as a subtask of that, or the essence of this put into the requirements for a cmake implementation. The existing implementation could be made to work this way too. Projects like glibc (or is it gcc? I forget which) force configure to be ran outside of the source directory. > Build in separate directory > --------------------------- > > Key: THRIFT-3072 > URL: https://issues.apache.org/jira/browse/THRIFT-3072 > Project: Thrift > Issue Type: Improvement > Components: Build Process > Affects Versions: 0.9.2 > Reporter: James E. King, III > > The thrift build environment leverages .gitignore extensively to allow for > [builds in the same > directory|http://wiki.apache.org/thrift/ThriftInstallation] as the source. > It would be preferable to allow for an external build directory such that the > source directory could be read-only. This would allow for an extensive > simplification of .gitignore and easier cleanup of builds, and maintain a > pristine source directory. > {code} > ~/thrift$ cd .. > ~$ cd thrift-build > ~/thrift-build$ ../thrift/bootstrap.sh > ../thrift/bootstrap.sh: 22: ../thrift/bootstrap.sh: ./cleanup.sh: not found > aclocal: error: 'configure.ac' is required > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)