[prev in list] [next in list] [prev in thread] [next in thread]
List: cmake
Subject: Re: [CMake] CMake Project Generation Speedup
From: Gregor Jasny via CMake <cmake () cmake ! org>
Date: 2019-03-21 8:41:48
Message-ID: 690a9a33-68d0-b7e2-eecd-03476c171ce1 () googlemail ! com
[Download RAW message or body]
Hello,
On 17.11.16 17:15, Damian wrote:
> We are still in the process of switching our large Make-based build to
> CMake. One of the issues we're running into is the time it takes to
> reparse and regenerate the CMake project (whether ninja, VS, or make)
> after touching any CMake file. To give you an idea, we have about 1000
> targets and that takes a good 2 min for CMake to rerun.
>
> Are there any plans to speed this up?
CMake VisualStudio and Xcode generator generates one solution /
xcodeproj per project() commmand. Due to the shared vcxproj files this
is not too expensive for Visual Studio. But for Xcode it is. You can
disable that behavior by specifying
-DCMAKE_XCODE_GENERATE_TOP_LEVEL_PROJECT_ONLY=ON
on the command line.
Thanks,
-Gregor
--
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:
https://cmake.org/mailman/listinfo/cmake
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic