2 new tests for canLink
This commit is contained in:
parent
b888c61634
commit
213057ff2e
@ -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
|
||||
|
Reference in New Issue
Block a user