Ver Fonte

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

jianfeng1.wang há 2 anos atrás
pai
commit
3b490107eb
1 ficheiros alterados com 2 adições e 2 exclusões
  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>