On 12/01/2015 02:41 PM, Dan Liew wrote:
>> Perhaps, but after regenerating the project the build tool will not
>> re-load the build files and start building again.  That will take
>> an additional invocation.  The number of iterations required is
>> bounded only by the depth of dependency chains.
> 
> I don't understand what you mean. What do you mean by "build tool" here?
> I also don't see why you would need to reconfigure multiple times.

If a .vcxproj file is re-generated while "msbuild" is running then the
new one may not be loaded and used until the next "msbuild".  Perhaps
that is okay for this use-case, but dynamic dependency injection is
not possible if the dependencies are needed the first time around
(which was the case last time I thought about this).

Perhaps IMPLICIT_DEPENDS could be implemented by outputting the
dependency information as a side effect of running the custom command.
Then as part of deciding whether CMake needs to re-run on the next
build it can look to see if that dependency information was updated.

-Brad

-- 

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

Reply via email to