Hello everyone,

I'm trying to build VTK and ITK along my project.

For now, I use the trick to add an option to build VTK and ITK only once
using ExternalProject_Add for all my dependencies and also for my project.

This works great on Unix system but with a VS solution, the dependencies
are not rebuilt when I change CMAKE_BUILD_TYPE.

Is it possible to know if CMAKE_BUILD_TYPE is changed? It will permit me to
switch on the option to rebuild the dependencies.

Anyone as other better ideas?

Thank you
-- 

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

Reply via email to