2 new tests for canLink

This commit is contained in:
WorldofBay 2019-02-07 15:10:58 +01:00 committed by GitHub
parent b888c61634
commit 213057ff2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -192,3 +192,33 @@
local r = prepare("all", "fullpath")
test.isequal({}, r)
end
--
-- Mixed and unmanaged projects can link to each other.
--
function suite.canLink_MixedAndNativeCpp()
clr "On"
links { "MyProject2" }
project "MyProject2"
kind "SharedLib"
language "C++"
local r = prepare("all", "fullpath")
test.isequal({ "bin/Debug/MyProject2.lib" }, r)
end
function suite.canLink_NativeAndMixedCpp()
links { "MyProject2" }
project "MyProject2"
kind "SharedLib"
language "C++"
clr "On"
local r = prepare("all", "fullpath")
test.isequal({ "bin/Debug/MyProject2.lib" }, r)
end