[cmake-developers] Extracting target metadata, IDE integration
    Brad King 
    brad.king at kitware.com
       
    Fri Sep 19 14:04:25 EDT 2014
    
    
  
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
    
    
More information about the cmake-developers
mailing list