diff options
author | aunsane <aunsane@gmail.com> | 2017-12-21 00:16:47 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2017-12-21 00:16:47 +0300 |
commit | 4b94e96dd34f1db6262a85fab9ca778186b95633 (patch) | |
tree | 970ebf5227f6b3f14ea286ff7f4212d814b6d70e /libs | |
parent | b60db432a3232b0569db7d39c04479efbcc9b73d (diff) |
pthreads: fix preprocessor definitions
Diffstat (limited to 'libs')
-rw-r--r-- | libs/pthreads/pthreads.vcxproj | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/libs/pthreads/pthreads.vcxproj b/libs/pthreads/pthreads.vcxproj index 7a25406ac5..d1ddccbe03 100644 --- a/libs/pthreads/pthreads.vcxproj +++ b/libs/pthreads/pthreads.vcxproj @@ -50,18 +50,17 @@ <Link> <SubSystem>Windows</SubSystem> <GenerateDebugInformation>true</GenerateDebugInformation> + <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary> </Link> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'"> <ClCompile> <Optimization>Disabled</Optimization> <WholeProgramOptimization>false</WholeProgramOptimization> - <PreprocessorDefinitions>WIN32;HAVE_PTW32_CONFIG_H;PTW32_RC_MSC;PTW32_ARCHx64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions Condition="'$(Platform)'=='Win32'">WIN32;HAVE_PTW32_CONFIG_H;PTW32_RC_MSC;PTW32_ARCHx86;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions Condition="'$(Platform)'=='x64'">WIN32;HAVE_PTW32_CONFIG_H;PTW32_RC_MSC;PTW32_ARCHx64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> </ClCompile> - <Link> - <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary> - </Link> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'"> <ClCompile> @@ -69,11 +68,11 @@ <WholeProgramOptimization>true</WholeProgramOptimization> <FunctionLevelLinking>true</FunctionLevelLinking> <IntrinsicFunctions>true</IntrinsicFunctions> - <PreprocessorDefinitions>WIN32;HAVE_PTW32_CONFIG_H;PTW32_RC_MSC;PTW32_ARCHx86;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions Condition="'$(Platform)'=='Win32'">WIN32;HAVE_PTW32_CONFIG_H;PTW32_RC_MSC;PTW32_ARCHx86;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions Condition="'$(Platform)'=='x64'">WIN32;HAVE_PTW32_CONFIG_H;PTW32_RC_MSC;PTW32_ARCHx64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> </ClCompile> <Link> - <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary> <EnableCOMDATFolding>true</EnableCOMDATFolding> <OptimizeReferences>true</OptimizeReferences> </Link> |