Initial test seems to work, Will wait for the Nightly tests to verify that 
using custom target works.

Allen

On Tuesday, July 21, 2015 04:17:39 PM Brad King wrote:
> On 07/21/2015 01:06 PM, Brad King wrote:
> > It looks like OBJECT_DEPENDS is not fully implemented for VS >= 10.
> > I'll look at fixing that.
> 
> It turns out that is because .vcxproj files do not support it.
> The ClCompile task is documented here:
> 
>  https://msdn.microsoft.com/en-us/library/ee862477.aspx
> 
> and it does not support an AdditionalInputs field.  The documentation
> of OBJECT_DEPENDS will have to be updated accordingly.
> 
> > Meanwhile you can work around the problem by moving generation of
> > the source file to a custom target and then use add_dependencies to
> > make sure that is built before the target that compiles the source.
> 
> Please let me know if this works for you or if you find another
> workaround.
> 
> Thanks,
> -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