Author: rinrab
Date: Tue Jul  9 16:50:07 2024
New Revision: 1919069

URL: http://svn.apache.org/viewvc?rev=1919069&view=rev
Log:
On the 'cmake' branch: Do not replace backward slashes to forward, because
they were fixed in the build.conf at r1919067. Also do a bit of refactoring
in this part of the code.

* build/generator/gen_cmake.py
  (Generator.write): Rework msvc-export generation.

Modified:
    subversion/branches/cmake/build/generator/gen_cmake.py

Modified: subversion/branches/cmake/build/generator/gen_cmake.py
URL: 
http://svn.apache.org/viewvc/subversion/branches/cmake/build/generator/gen_cmake.py?rev=1919069&r1=1919068&r2=1919069&view=diff
==============================================================================
--- subversion/branches/cmake/build/generator/gen_cmake.py (original)
+++ subversion/branches/cmake/build/generator/gen_cmake.py Tue Jul  9 16:50:07 
2024
@@ -144,8 +144,7 @@ class Generator(gen_base.GeneratorBase):
       msvc_export = []
       if isinstance(target, gen_base.TargetLib):
         for export in target.msvc_export:
-          path = "subversion/include/" + export.replace("\\", "/")
-          msvc_export.append(path)
+          msvc_export.append("subversion/include/" + export)
 
       sources = []
       libs = []


Reply via email to