@@ -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 ;
267
267
if ((!$static_library || $target =~ ' vcs-svn' || $target =~ ' xdiff' ) && !($name =~ / headless-git/ )) {
268
268
my $uuid_libgit = $$build_structure {" LIBS_libgit_GUID" };
269
269
my $uuid_libreftable = $$build_structure {" LIBS_reftable/libreftable_GUID" };
270
+ my $uuid_libreftable_test = $$build_structure {" LIBS_reftable/libreftable_test_GUID" };
270
271
my $uuid_xdiff_lib = $$build_structure {" LIBS_xdiff/lib_GUID" };
271
272
272
273
print F << "EOM" ;
@@ -278,10 +279,14 @@ EOM
278
279
EOM
279
280
if (!($name =~ / xdiff|libreftable/ )) {
280
281
print F << "EOM" ;
281
- <ProjectReference Include="$cdup \\ reftable\\ libreftable\\ libreftable.vcxproj">
282
+ <ProjectReference Include="$cdup \\ reftable\\ libreftable.proj \\ libreftable.vcxproj">
282
283
<Project>$uuid_libreftable </Project>
283
284
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
284
285
</ProjectReference>
286
+ <ProjectReference Include="$cdup \\ reftable\\ libreftable_test.proj\\ libreftable_test.vcxproj">
287
+ <Project>$uuid_libreftable_test </Project>
288
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
289
+ </ProjectReference>
285
290
EOM
286
291
}
287
292
if (!($name =~ ' xdiff' )) {
0 commit comments