<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ImportGroup Label="PropertySheets" /> <PropertyGroup Label="UserMacros" /> <PropertyGroup> <IncludePath>C:opencvuildinclude;C:opencvuildincludeopencv;C:opencvuildincludeopencv2;$(IncludePath)</IncludePath> </PropertyGroup> <PropertyGroup> <LibraryPath>C:opencvuildx86vc12lib;C:opencvuildx86vc12staticlib;$(LibraryPath)</LibraryPath> </PropertyGroup> <ItemDefinitionGroup> <Link> <AdditionalDependencies>opencv_ts300.lib;opencv_world300.lib;%(AdditionalDependencies)</AdditionalDependencies> </Link> </ItemDefinitionGroup> <ItemGroup /> </Project>
与以往需要添加长长的一串lib不同,vs2015只需要添加opencv_ts300.lib;opencv_world300.lib这两个lib。