That sounds like a decent solution from my point of view. 
 
I will create an issue for this topic.
 
Regards,
Lars
 
Date: Fri, 13 Dec 2013 10:53:49 +0100
From: [email protected]
To: [email protected]; [email protected]; [email protected]
Subject: Re: [CMake] depend.make


  
    
  
  
    On 13.12.2013 10:43, Lars wrote:

    
    
      
      Using the include_regular_expression macro made a
        huge difference. The build time was reduced by more than 50%.

         

        The regular expression appear to be only applied to part of
        the dependency file path. So in the case of Boost this
        works pretty well for us because we use #include
        <boost/filesystem.hpp> but more difficult to remove qt
        dependency like #include <QDir>. How do you view adding a
        feature that allow applying regex to the absolute path?
        Secondly, the documentation of include_regular_expression should
        probably mention something about the target string (relative
        path, not absolute).

      
    
    Maybe CMake could filter out includes in system directories (like
    gcc -MM does).

    System directories in this case could be directories added with e.g.
    include_directories(SYSTEM).

    

    Nils
                                          
--

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://www.cmake.org/mailman/listinfo/cmake

Reply via email to