On 01/22/2014 12:05 PM, Tony-Alexandru Dincu wrote:
> I investigated the problem and I saw that the problem is from relative path.
> With CMake 2.8.8 the solution builds, but with CMake 2.8.9 no.

Between those versions came these commits:

 VS10: Convert paths normally unless forced to relative
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4248132e

 VS11: Do not use source path conversion workaround specific to VS 10
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b2e7c7ae

 VS10: Generate relative source paths when possible (#12570)
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d931ce9fe

There are multiple competing use cases that require workarounds
for multiple bugs in VS 10 (2010).  If you use VS 11 (2012) this
problem may go away.  See the comment here for full explanation:

  
http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmVisualStudio10TargetGenerator.cxx;hb=v2.8.12.1#l921

CMake even tries to warn you when it hits a case for which
it cannot work around both VS 10 bugs:

 
http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmGlobalVisualStudio10Generator.cxx;hb=v2.8.12.1#l133

-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://www.cmake.org/mailman/listinfo/cmake

Reply via email to