On Mon, Jun 27, 2016 at 5:09 PM, Brad King <brad.k...@kitware.com> wrote: > On 06/24/2016 12:19 PM, Oleh Kravchenko wrote: >> As far as I can see from issue tracker and the mail list archives of >> "precompiled headers" feature we are still struggling for solution. >> https://cmake.org/Bug/view.php?id=1260 >> https://gitlab.kitware.com/cmake/cmake/issues/1260 > > Yes. Currently we support some primitives that make it possible to use > PCH in some circumstances but it is not a first-class feature. One > reason is that we (upstream) have never needed it for our own projects. > >> I'm ready to contribute to development, but have not idea where shall I >> start :) >> I have in-depth knowledge of C/C++ development for different platforms >> (Windows, Linux), (arm, x86, amd64) and GCC/MSVC compilers. > > Great, thanks for stepping forward. > > The first step is to propose porcelain (e.g. a target property) to > enable and configure PCH settings, along with examples of how that > would map to the underlying generator behavior. We need to find an > abstraction that works well for the way each native toolchain does > PCH.
You may find this branch useful as a staring point: https://github.com/purpleKarrot/CMake/commits/pch The reason I never finished that is the same as Brad mentioned above: I currently don't need this feature for any project. cheers, Daniel -- 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