瀏覽代碼

Release生成时,未添加libstudxml.lib库导致编译失败。

jianfeng1.wang 2 年之前
父節點
當前提交
3b490107eb
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      xlnt/xlnt.vcxproj

+ 2 - 2
xlnt/xlnt.vcxproj

@@ -138,7 +138,7 @@
       <RuntimeTypeInfo>true</RuntimeTypeInfo>
       <UseFullPaths>false</UseFullPaths>
       <WarningLevel>Level4</WarningLevel>
-      <PreprocessorDefinitions>%(PreprocessorDefinitions);WIN32;_WINDOWS;NDEBUG;XLNT_SHARED=1;_CRT_SECURE_NO_WARNINGS=1;XLNT_EXPORT=1;CMAKE_INTDIR="Release";xlnt_EXPORTS</PreprocessorDefinitions>
+      <PreprocessorDefinitions>%(PreprocessorDefinitions);WIN32;_WINDOWS;NDEBUG;XLNT_SHARED=1;_CRT_SECURE_NO_WARNINGS=1;XLNT_EXPORT=1;CMAKE_INTDIR="Release";xlnt_EXPORTS;LIBSTUDXML_STATIC_LIB</PreprocessorDefinitions>
       <ObjectFileName>$(IntDir)</ObjectFileName>
       <DebugInformationFormat>
       </DebugInformationFormat>
@@ -156,7 +156,7 @@
       <ProxyFileName>%(Filename)_p.c</ProxyFileName>
     </Midl>
     <Link>
-      <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;comdlg32.lib;advapi32.lib</AdditionalDependencies>
+      <AdditionalDependencies>libstudxml.lib</AdditionalDependencies>
       <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
       <AdditionalOptions>%(AdditionalOptions) /machine:X86</AdditionalOptions>
       <GenerateDebugInformation>false</GenerateDebugInformation>