<div dir="ltr"><div dir="ltr">Hello everyone,<div><br></div><div>I'm trying to build VTK and ITK along my project.</div><div><br></div><div>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. </div><div><br></div><div>This works great on Unix system but with a VS solution, the dependencies are not rebuilt when I change CMAKE_BUILD_TYPE.<br></div><div><br></div><div>Is it possible to know if CMAKE_BUILD_TYPE is changed? It will permit me to switch on the option to rebuild the dependencies.</div><div><br></div><div>Anyone as other better ideas?</div><div><br></div><div>Thank you</div></div></div>