> Thread support would be nice because Autogen could be parallelized perfectly.
oh please yes. moc generation is almost 10% of my build time. ------- Jean-Michaël Celerier http://www.jcelerier.name On Mon, Aug 21, 2017 at 4:32 PM, Sebastian Holtermann <sebl...@xwmw.org> wrote: > Am Montag, 21. August 2017, 10:04:28 CEST schrieben Sie: > > On 08/21/2017 09:53 AM, Sebastian Holtermann wrote: > > > it looks like C++11 is now a requirement for CMake itself. > > > > Yes. We just merged this: > > > > https://gitlab.kitware.com/cmake/cmake/merge_requests/1132 > > > > but you beat us to the announcement. > > I saw the MR last week and was delighted. The iterator type naming in `for` > loops drove me mad. > > > > But does this mean *all* the nice features from the std library can be > > > used? > > Not all. We're still limited by some of the older C++11 compilers. > > We'll have to see how things go on nightly builds. As limitations > > are found they can be documented in `Help/dev/source.rst`. > > > > We will require std::unique_ptr at least. > > > > > - std::array > > > > I think so but haven't tried it. > > > > > - std::basic_regex (and friends) > > > > We still support GCC 4.8. IIRC its standard library doesn't have > > the implementations in place. > > That's a pitty, because cmsys::RegularExpression isn't thread safe. > Although it might be possible to make it so in a reasonable amount of time > > > > - std::thread (and friends) > > > > No, at least not yet. For now we're using libuv's thread primitives > > instead. Either way anything that needs to build during bootstrap > > may not be able to use this. > > > > > - std::atomic_flag > > Thread support would be nice because Autogen could be parallelized > perfectly. > Only it would require several utility methods to be thread safe as well. > Many > likely aren't though. I'll have a look at libuv. > > -Sebastian > > > -- > > Powered by www.kitware.com > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Kitware offers various services to support the CMake community. For more > information on each offering, please visit: > > CMake Support: http://cmake.org/cmake/help/support.html > CMake Consulting: http://cmake.org/cmake/help/consulting.html > CMake Training Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/cmake-developers >
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers