On Thu, Jul 9, 2015 at 7:35 PM, Clifford Yapp <cliffy...@gmail.com> wrote:

> [...]
>
> 2.  Second we maintain global lists of all exec, library, and custom
> targets.  This allows us to run timestamping build targets that run at
> the very beginning and very end of the build process, by setting up
> target dependences for the beginning and ending timestamp targets.
> The ending time stamp target must depend on every other build target,
> and the beginning timestamp is depended on by every other build
> target.  To do this, as far as I know, we need lists of all build
> targets so we can set this up with the add_dependencies command.
>

In our project suite setup, we need a list of all existing targets as well.
Having access to it from CMakeLists would be invaluable.

Petr
-- 

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

Reply via email to