File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -131,16 +131,18 @@ let findProjectFiles ~namespace ~path ~sourceDirectories ~libBs =
131
131
in
132
132
dirs
133
133
|> ifDebug true " Source directories" (fun s ->
134
- s |> StringSet. elements |> String. concat " - " );
134
+ s |> StringSet. elements |> List. map Utils. dumpPath
135
+ |> String. concat " - " );
135
136
files
136
137
|> ifDebug true " Source files found" (fun s ->
137
- s |> StringSet. elements |> String. concat " : " );
138
+ s |> StringSet. elements |> List. map Utils. dumpPath
139
+ |> String. concat " : " );
138
140
139
141
let interfaces = Hashtbl. create 100 in
140
142
files
141
143
|> StringSet. iter (fun path ->
142
144
if isInterface path then (
143
- Log. log (" Adding intf " ^ path);
145
+ Log. log (" Adding intf " ^ Utils. dumpPath path);
144
146
Hashtbl. replace interfaces (getName path) path));
145
147
146
148
let normals =
@@ -219,7 +221,7 @@ let findDependencyFiles base config =
219
221
match BuildSystem. getLibBs path with
220
222
| None -> None
221
223
| Some libBs ->
222
- Log. log (" Compiled base: " ^ libBs);
224
+ Log. log (" Compiled base: " ^ Utils. dumpPath libBs);
223
225
let compiledDirectories =
224
226
sourceDirectories |> List. map (Filename. concat libBs)
225
227
in
Original file line number Diff line number Diff line change @@ -73,3 +73,5 @@ let filterMap f =
73
73
match f x with None -> aux accu l | Some v -> aux (v :: accu) l)
74
74
in
75
75
aux []
76
+
77
+ let dumpPath path = Str. global_replace (Str. regexp_string " \\ " ) " /" path
You can’t perform that action at this time.
0 commit comments