2 new tests for canLink
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
