Changeset 1099b95 in opengl-game for NewOpenGLGame.vcxproj


Ignore:
Timestamp:
Feb 27, 2018, 1:53:43 AM (7 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
6f73e0c
Parents:
33a9664
Message:

Make the Windows build use static versions of glew and glfw3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NewOpenGLGame.vcxproj

    r33a9664 r1099b95  
    8383      <Optimization>Disabled</Optimization>
    8484      <SDLCheck>true</SDLCheck>
    85       <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
     85      <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;GLEW_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    8686    </ClCompile>
    8787    <Link>
    88       <AdditionalDependencies>glew32.lib;glfw3dll.lib;opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
     88      <AdditionalDependencies>glew32s.lib;glfw3.lib;opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
    8989    </Link>
    9090  </ItemDefinitionGroup>
     
    103103      <IntrinsicFunctions>true</IntrinsicFunctions>
    104104      <SDLCheck>true</SDLCheck>
    105       <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
     105      <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;GLEW_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    106106    </ClCompile>
    107107    <Link>
    108108      <EnableCOMDATFolding>true</EnableCOMDATFolding>
    109109      <OptimizeReferences>true</OptimizeReferences>
    110       <AdditionalDependencies>glew32.lib;glfw3dll.lib;opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
     110      <AdditionalDependencies>glew32s.lib;glfw3.lib;opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
    111111    </Link>
    112112  </ItemDefinitionGroup>
     
    127127    <ClCompile Include="logger.cpp" />
    128128    <ClCompile Include="new-game.cpp" />
     129    <ClCompile Include="stb_image.cpp" />
    129130  </ItemGroup>
    130131  <ItemGroup>
    131132    <ClInclude Include="logger.h" />
     133    <ClInclude Include="stb_image.h" />
    132134  </ItemGroup>
    133135  <ItemGroup>
Note: See TracChangeset for help on using the changeset viewer.