@@ -77,7 +77,7 @@ sub createProject {
7777 my $libs_release = " \n " ;
7878 my $libs_debug = " \n " ;
7979 if (!$static_library && $name ne ' headless-git' ) {
80- $libs_release = join (" ;" , sort (grep /^(?!libgit\.lib|xdiff\/lib\.lib|vcs-svn\/lib\.lib|reftable\/libreftable\.lib)/, @{$$build_structure {" $prefix${name} _LIBS" }}));
80+ $libs_release = join (" ;" , sort (grep /^(?!libgit\.lib|xdiff\/lib\.lib|vcs-svn\/lib\.lib|reftable\/libreftable(_test)? \.lib)/, @{$$build_structure {" $prefix${name} _LIBS" }}));
8181 $libs_debug = $libs_release ;
8282 $libs_debug =~ s / zlib\. lib/ zlibd\. lib/ g ;
8383 $libs_debug =~ s / libexpat\. lib/ libexpatd\. lib/ g ;
258258 if ((!$static_library || $target =~ ' vcs-svn' || $target =~ ' xdiff' ) && !($name =~ / headless-git/ )) {
259259 my $uuid_libgit = $$build_structure {" LIBS_libgit_GUID" };
260260 my $uuid_libreftable = $$build_structure {" LIBS_reftable/libreftable_GUID" };
261+ my $uuid_libreftable_test = $$build_structure {" LIBS_reftable/libreftable_test_GUID" };
261262 my $uuid_xdiff_lib = $$build_structure {" LIBS_xdiff/lib_GUID" };
262263
263264 print F << "EOM" ;
@@ -269,10 +270,14 @@ EOM
269270EOM
270271 if (!($name =~ / xdiff|libreftable/ )) {
271272 print F << "EOM" ;
272- <ProjectReference Include="$cdup \\ reftable\\ libreftable\\ libreftable.vcxproj">
273+ <ProjectReference Include="$cdup \\ reftable\\ libreftable.proj \\ libreftable.vcxproj">
273274 <Project>$uuid_libreftable </Project>
274275 <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
275276 </ProjectReference>
277+ <ProjectReference Include="$cdup \\ reftable\\ libreftable_test.proj\\ libreftable_test.vcxproj">
278+ <Project>$uuid_libreftable_test </Project>
279+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
280+ </ProjectReference>
276281EOM
277282 }
278283 if (!($name =~ ' xdiff' )) {
0 commit comments