@@ -77,7 +77,7 @@ sub createProject {
77
77
my $libs_release = " \n " ;
78
78
my $libs_debug = " \n " ;
79
79
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" }}));
81
81
$libs_debug = $libs_release ;
82
82
$libs_debug =~ s / zlib\. lib/ zlibd\. lib/ g ;
83
83
$libs_debug =~ s / libexpat\. lib/ libexpatd\. lib/ g ;
258
258
if ((!$static_library || $target =~ ' vcs-svn' || $target =~ ' xdiff' ) && !($name =~ / headless-git/ )) {
259
259
my $uuid_libgit = $$build_structure {" LIBS_libgit_GUID" };
260
260
my $uuid_libreftable = $$build_structure {" LIBS_reftable/libreftable_GUID" };
261
+ my $uuid_libreftable_test = $$build_structure {" LIBS_reftable/libreftable_test_GUID" };
261
262
my $uuid_xdiff_lib = $$build_structure {" LIBS_xdiff/lib_GUID" };
262
263
263
264
print F << "EOM" ;
@@ -269,10 +270,14 @@ EOM
269
270
EOM
270
271
if (!($name =~ / xdiff|libreftable/ )) {
271
272
print F << "EOM" ;
272
- <ProjectReference Include="$cdup \\ reftable\\ libreftable\\ libreftable.vcxproj">
273
+ <ProjectReference Include="$cdup \\ reftable\\ libreftable.proj \\ libreftable.vcxproj">
273
274
<Project>$uuid_libreftable </Project>
274
275
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
275
276
</ProjectReference>
277
+ <ProjectReference Include="$cdup \\ reftable\\ libreftable_test.proj\\ libreftable_test.vcxproj">
278
+ <Project>$uuid_libreftable_test </Project>
279
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
280
+ </ProjectReference>
276
281
EOM
277
282
}
278
283
if (!($name =~ ' xdiff' )) {
0 commit comments