On 09/19/2014 01:57 PM, Rolf Eike Beer wrote:
> I see duplicated slashes in the JSON file.

It looks like those come from cmTarget::GetLocationForBuild.
An extra

+  if(!location.empty())
+    {
+    location += "/";
+    }

appears to have been added by this commit:

 Remove the Location member from cmTarget.
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=638843af

Steve, do you remember why it was added?  All lines below
that append a slash before appending other content, so it
will always end up with a double slash.  Is there any reason
you see that it cannot be removed?

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-developers

Reply via email to