Re: [CMake] CMake'ified Boost
Hi James, Make sens. Thanks for the follow up. Jc On Sat, Feb 23, 2013 at 5:06 AM, James Turner james.tur...@kdab.com wrote: No I'm simply using custom build and update commands to run bootstrap.sh and bjam with appropriate args. I suspect this is the piece the Xcode generator can't cope with, but I didn't have time to investigate in detail yet. Regards, James On 21 Feb 2013, at 17:59, Jean-Christophe Fillion-Robin jchris.filli...@kitware.com wrote: Hi James, On a slightly different topic, you mentioned you were using Boost, did you find a version of boost 1.49 that was CMake'ified ? Here is the one I found: http://gitorious.org/boost/cmake/trees/cmake-1.49.0 Thanks Jc On Thu, Feb 21, 2013 at 12:39 PM, Bill Hoffman bill.hoff...@kitware.comwrote: On 2/21/2013 10:34 AM, James Turner wrote: I've just setup a SuperBuild using ExternalProject, and am pleasantly surprised how well it works so far. I've encountered one issue, which is awkward - I'm basically using the SuperBuild to automate assembling / updating dependencies for the final sub-project, which is the real project I normally work on. I typically work on that project using Xcode and the Xcode generator. The problem is, if I use -G Xcode for the super build, some parts fail (and to be honest this is no surprise - amongst the dependencies is Boost, for example). So the question, can I safely set things to use a different generator for a CMake-based ExternalProject, and still have a top-level build of everything? The documentation for how the generator flag is handled by ExternalProject_Add, makes me think there might be something 'magic' happening. (This would mean, for example, the top-level Makefile called xcodebuild to build the xcodeprojs I guess) I didn't yet try this on MSVC, I'm curious what the situation will be there with the same setup. Is a top-level NMake build with msbuild of VisualStudio child projects possible? It should work. I do VS project builds with VS all the time. The Xcode generator should work as well. It passes the tests for external project. So, that should be something that should be fixed. -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton Park, NY 12065 bill.hoff...@kitware.com http://www.kitware.com 518 881-4905 (Direct) 518 371-3971 x105 Fax (518) 371-4573 -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/** opensource/opensource.htmlhttp://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/**CMake_FAQhttp://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/**listinfo/cmakehttp://www.cmake.org/mailman/listinfo/cmake -- +1 919 869 8849 -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- +1 919 869 8849 -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] CMake'ified Boost
No I'm simply using custom build and update commands to run bootstrap.sh and bjam with appropriate args. I suspect this is the piece the Xcode generator can't cope with, but I didn't have time to investigate in detail yet. Regards, James On 21 Feb 2013, at 17:59, Jean-Christophe Fillion-Robin jchris.filli...@kitware.com wrote: Hi James, On a slightly different topic, you mentioned you were using Boost, did you find a version of boost 1.49 that was CMake'ified ? Here is the one I found: http://gitorious.org/boost/cmake/trees/cmake-1.49.0 Thanks Jc On Thu, Feb 21, 2013 at 12:39 PM, Bill Hoffman bill.hoff...@kitware.com wrote: On 2/21/2013 10:34 AM, James Turner wrote: I've just setup a SuperBuild using ExternalProject, and am pleasantly surprised how well it works so far. I've encountered one issue, which is awkward - I'm basically using the SuperBuild to automate assembling / updating dependencies for the final sub-project, which is the real project I normally work on. I typically work on that project using Xcode and the Xcode generator. The problem is, if I use -G Xcode for the super build, some parts fail (and to be honest this is no surprise - amongst the dependencies is Boost, for example). So the question, can I safely set things to use a different generator for a CMake-based ExternalProject, and still have a top-level build of everything? The documentation for how the generator flag is handled by ExternalProject_Add, makes me think there might be something 'magic' happening. (This would mean, for example, the top-level Makefile called xcodebuild to build the xcodeprojs I guess) I didn't yet try this on MSVC, I'm curious what the situation will be there with the same setup. Is a top-level NMake build with msbuild of VisualStudio child projects possible? It should work. I do VS project builds with VS all the time. The Xcode generator should work as well. It passes the tests for external project. So, that should be something that should be fixed. -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton Park, NY 12065 bill.hoff...@kitware.com http://www.kitware.com 518 881-4905 (Direct) 518 371-3971 x105 Fax (518) 371-4573 -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- +1 919 869 8849 -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] CMake'ified Boost
Thanks for the pointer. I am curious to set what will be the outcome. I will try to contact them to see why the github repo is down: http://github.com/boost-lib On Thu, Feb 21, 2013 at 1:42 PM, Bill Hoffman bill.hoff...@kitware.comwrote: On 2/21/2013 12:59 PM, Jean-Christophe Fillion-Robin wrote: Hi James, On a slightly different topic, you mentioned you were using Boost, did you find a version of boost 1.49 that was CMake'ified ? Here is the one I found: http://gitorious.org/boost/** cmake/trees/cmake-1.49.0http://gitorious.org/boost/cmake/trees/cmake-1.49.0 Thanks Jc There is new work here: https://svn.boost.org/trac/**boost/wiki/**CMakeModularizationStatushttps://svn.boost.org/trac/boost/wiki/CMakeModularizationStatus I don't think it is ready for use yet, but it is moving forward. -Bill -- +1 919 869 8849 -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
[CMake] CMake'ified Boost
Hi James, On a slightly different topic, you mentioned you were using Boost, did you find a version of boost 1.49 that was CMake'ified ? Here is the one I found: http://gitorious.org/boost/cmake/trees/cmake-1.49.0 Thanks Jc On Thu, Feb 21, 2013 at 12:39 PM, Bill Hoffman bill.hoff...@kitware.comwrote: On 2/21/2013 10:34 AM, James Turner wrote: I've just setup a SuperBuild using ExternalProject, and am pleasantly surprised how well it works so far. I've encountered one issue, which is awkward - I'm basically using the SuperBuild to automate assembling / updating dependencies for the final sub-project, which is the real project I normally work on. I typically work on that project using Xcode and the Xcode generator. The problem is, if I use -G Xcode for the super build, some parts fail (and to be honest this is no surprise - amongst the dependencies is Boost, for example). So the question, can I safely set things to use a different generator for a CMake-based ExternalProject, and still have a top-level build of everything? The documentation for how the generator flag is handled by ExternalProject_Add, makes me think there might be something 'magic' happening. (This would mean, for example, the top-level Makefile called xcodebuild to build the xcodeprojs I guess) I didn't yet try this on MSVC, I'm curious what the situation will be there with the same setup. Is a top-level NMake build with msbuild of VisualStudio child projects possible? It should work. I do VS project builds with VS all the time. The Xcode generator should work as well. It passes the tests for external project. So, that should be something that should be fixed. -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton Park, NY 12065 bill.hoff...@kitware.com http://www.kitware.com 518 881-4905 (Direct) 518 371-3971 x105 Fax (518) 371-4573 -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/** opensource/opensource.htmlhttp://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/**CMake_FAQhttp://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/**listinfo/cmakehttp://www.cmake.org/mailman/listinfo/cmake -- +1 919 869 8849 -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] CMake'ified Boost
On 2/21/2013 12:59 PM, Jean-Christophe Fillion-Robin wrote: Hi James, On a slightly different topic, you mentioned you were using Boost, did you find a version of boost 1.49 that was CMake'ified ? Here is the one I found: http://gitorious.org/boost/cmake/trees/cmake-1.49.0 Thanks Jc There is new work here: https://svn.boost.org/trac/boost/wiki/CMakeModularizationStatus I don't think it is ready for use yet, but it is moving forward. -Bill -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake