Linker Visual Studio 2005始终在使用CMake生成项目时重新链接该项目

Linker Visual Studio 2005始终在使用CMake生成项目时重新链接该项目,linker,cmake,visual-studio-2005,Linker,Cmake,Visual Studio 2005,我在Visual2005中使用CMake生成了一个项目,每次我按F5键,链接器都会重新链接对象,即使没有进行任何修改。我读过其他类似问题,但解决方法是: 窗户的时间不对。它使可执行文件在将来随着时间而创建。或 链接器和编译器创建的PDB具有相同的名称 我已经检查过了,我没有这个问题。此外,我还有另一个项目解决方案(不是由CMake生成的),它运行良好。我检查了每个项目的属性,它们是相似的 这是BuildLog.htm中生成的输出: 构建日志 开始构建:项目:remote4,配置:TTecDebu

我在Visual2005中使用CMake生成了一个项目,每次我按F5键,链接器都会重新链接对象,即使没有进行任何修改。我读过其他类似问题,但解决方法是:

  • 窗户的时间不对。它使可执行文件在将来随着时间而创建。或

  • 链接器和编译器创建的PDB具有相同的名称

  • 我已经检查过了,我没有这个问题。此外,我还有另一个项目解决方案(不是由CMake生成的),它运行良好。我检查了每个项目的属性,它们是相似的

    这是BuildLog.htm中生成的输出:

    构建日志

    开始构建:项目:remote4,配置:TTecDebug | Win32

    命令行

    创建临时文件 “c:\advtec9\trunk\bin\u sem\u unittest\remote4\remote4.dir\TTecDebug\rsp0008649325832.rsp” 有内容[ /输出:“c:\T\bin\smartclient\TTecDebug..\TSmartClient.exe”/VERSION:0.0 /LIBPATH:“C:\Qt4\lib\TTecDebug”/LIBPATH:“C:\Qt4\lib” /LIBPATH:“C:\Qt4\plugins\imageformats\TTecDebug” /LIBPATH:“C:\Qt4\plugins\imageformats” /LIBPATH:“C:\Qt4\plugins\accessible\TTecDebug” /LIBPATH:“C:\Qt4\plugins\accessible” /LIBPATH:“C:\kdchart4\lib\TTecDebug”/LIBPATH:“C:\kdchart4\lib” /清单:否/NODEFAULTLIB:“LIBCMT”/DEBUG /PDB:“c:\T\bin\smartclient\TTecDebug/。/TSmartClient.PDB” /子系统:WINDOWS /IMPLIB:“c:\T\bin\smartclient\TTecDebug..\TSmartClient.lib” /计算机:X86/忽略:4217/忽略:4049/调试 /LIBPATH:C:/advtec9/trunk/openssl/debug kdchartd.lib qtmaind.lib QtCored.lib QtGuid.lib Qt3Supportd.lib QtXmld.lib qtsvgd.lib QtNetworkd.lib QAxServerd.lib QAxContainerd.lib qgifd.lib qjpeg.lib qtaccessiblecompatwidgetsd.lib qtaccessiblewidgetsd.lib C:/advtec9/trunk/senhap/splogin4d.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib ssleay32.lib libeay32.lib mpr.lib imm32.lib winmm.lib ws2_32.lib msimg32.lib odbc32.lib odbccp32.lib ..\lib_comm\TTecDebug\lib_comm.lib ..\lib\u getsys\TTecDebug\lib\u getsys.lib c:\T\bin\smartclient\TTecDebug..\singlesign.lib ..\lib\u graphicprint\TTecDebug\lib\u graphicprint.lib ..\lib\TTecDebug\lib.lib..\lib\u base\TTecDebug\lib\u base.lib ..\lib\u gzip\TTecDebug\lib\u gzip.lib..\web\TTecDebug\web.lib ..\third\u libraries\engine\u pkcs11\TTecDebug\engine\u pkcs11.lib ..\third_libraries\libp11\TTecDebug\libp11.lib dbghelp.lib

    “\remote4.dir\TTecDebug\main.obj”

    “\remote4.dir\TTecDebug\apcombase.obj”

    “\remote4.dir\TTecDebug\apexcel.obj”

    “\remote4.dir\TTecDebug\approject.obj”

    “\remote4.dir\TTecDebug\apword.obj”

    “\remote4.dir\TTecDebug\calc.obj”

    “\remote4.dir\TTecDebug\calend4.obj”

    “\remote4.dir\TTecDebug\config_client.obj”

    “\remote4.dir\TTecDebug\execinclient.obj”

    “\remote4.dir\TTecDebug\fjs_comps_base.obj”

    “\remote4.dir\TTecDebug\t4jsaction.obj”

    “\remote4.dir\TTecDebug\t4jsapplication.obj”

    “\remote4.dir\TTecDebug\t4jsbitmap.obj”

    “\remote4.dir\TTecDebug\t4jsdisplay.obj”

    “\remote4.dir\TTecDebug\t4jsdisplayarray.obj”

    “\remote4.dir\TTecDebug\t4jsexpandedinput.obj”

    “\remote4.dir\TTecDebug\t4jsform.obj”

    “\remote4.dir\TTecDebug\t4jshelpwindow.obj”

    “\remote4.dir\TTecDebug\t4jsinput.obj”

    “\remote4.dir\TTecDebug\t4jsinputarray.obj”

    “\remote4.dir\TTecDebug\t4jsinputcheck.obj”

    “\remote4.dir\TTecDebug\t4jsinputfieldbmp.obj”

    “\remote4.dir\TTecDebug\t4jsinputimage.obj”

    “\remote4.dir\TTecDebug\t4jsinputradio.obj”

    “\remote4.dir\TTecDebug\t4jsinputtext.obj”

    “\remote4.dir\TTecDebug\t4jsmainfown.obj”

    “\remote4.dir\TTecDebug\t4jsmenu.obj”

    “\remote4.dir\TTecDebug\t4jsmessagebox.obj”

    “\remote4.dir\TTecDebug\t4jsmultilieinputtext.obj”

    “\remote4.dir\TTecDebug\t4jspromptinput.obj”

    “\remote4.dir\TTecDebug\t4jstoolbar.obj”

    “\remote4.dir\TTecDebug\t4jswaitwindow.obj”

    “\remote4.dir\TTecDebug\t4jswindow.obj”

    “\remote4.dir\TTecDebug\qtcolortriangle.obj”

    “\remote4.dir\TTecDebug\qtsingleapplication.obj”

    “\remote4.dir\TTecDebug\remote\u utils.obj”

    “\remote4.dir\TTecDebug\rmtcli.obj”

    “\remote4.dir\TTecDebug\signfunctions.obj”

    “\remote4.dir\TTecDebug\talignlayout.obj”

    “\remote4.dir\TTecDebug\tapplication.obj”

    “\remote4.dir\TTecDebug\tbitmap.obj”

    “\remote4.dir\TTecDebug\tbrowsebutton.obj”

    “\remote4.dir\TTecDebug\tbtnbmp.obj”

    “\remote4.dir\TTecDebug\tbutton.obj”

    “\remote4.dir\TTecDebug\franchychrs.obj”

    “\remote4.dir\TTecDebug\parserext.obj”

    “\remote4.dir\TTecDebug\Tprinter.obj”

    “\remote4.dir\TTecDebug\tprinfonts.obj”

    “\remote4.dir\TTecDebug\ttpviewer.obj”

    “\remote4.dir\TTecDebug\tcbrowse.obj”

    “\remote4.dir\TTecDebug\tchartwin.obj”

    “\remote4.dir\TTecDebug\tcheckbox.obj”

    “\remote4.dir\TTecDebug\tcombobox.obj”

    “\remote4.dir\TTecDebug\t组件工厂.obj”

    “\remote4.dir\TTecDebug\t连接.obj”

    “\remote4.dir\TTecDebug\t连接套接字.obj”

    “\remote4.dir\TTecDebug\t控制.obj”

    “\remote4.dir\TTecDebug\t更正程序.obj”

    “\remote4.dir\TTecDebug\tcreateinifiledialog.obj”

    “\remote4.dir\TTecDebug\tdgcanvas.obj”

    “\remote4.dir\TTecDebug\tdgcanvasitem.obj”

    “\remote4.dir\TTecDebug\tdgca