Changeset 317ad13 in opengl-game


Ignore:
Timestamp:
Mar 7, 2021, 10:30:45 PM (4 years ago)
Author:
Dmitry Portnoy <dportnoy@…>
Branches:
feature/imgui-sdl
Children:
5192672
Parents:
faa7bac
Message:

Update linker include flags in VulkanReference

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • VulkanReference.vcxproj

    rfaa7bac r317ad13  
    7171  <PropertyGroup Label="UserMacros" />
    7272  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
    73     <IncludePath>include;$(IncludePath)</IncludePath>
    74     <LibraryPath>lib;$(LibraryPath)</LibraryPath>
     73    <IncludePath>include;$(VULKAN_SDK)/Include;$(VULKAN_SDK)/Third-Party/Include;$(IncludePath)</IncludePath>
     74    <LibraryPath>lib;$(VULKAN_SDK)/Lib;$(LibraryPath)</LibraryPath>
    7575  </PropertyGroup>
    7676  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
    77     <IncludePath>include;$(IncludePath)</IncludePath>
    78     <LibraryPath>lib;$(LibraryPath)</LibraryPath>
     77    <IncludePath>include;$(VULKAN_SDK)/Include;$(VULKAN_SDK)/Third-Party/Include;$(IncludePath)</IncludePath>
     78    <LibraryPath>lib;$(VULKAN_SDK)/Lib;$(LibraryPath)</LibraryPath>
    7979  </PropertyGroup>
    8080  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
     
    9191      <SubSystem>Console</SubSystem>
    9292      <AdditionalLibraryDirectories>D:\VulkanSDK\1.1.108.0\Lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
    93       <AdditionalDependencies>SDL2.lib;SDL2main.lib;SDL2_image.lib;SDL2_ttf.lib;glfw3.lib;vulkan-1.lib;%(AdditionalDependencies)</AdditionalDependencies>
     93      <AdditionalDependencies>SDL2.lib;SDL2main.lib;SDL2_image.lib;SDL2_ttf.lib;vulkan-1.lib;%(AdditionalDependencies)</AdditionalDependencies>
    9494    </Link>
    9595  </ItemDefinitionGroup>
     
    136136      <EnableCOMDATFolding>true</EnableCOMDATFolding>
    137137      <OptimizeReferences>true</OptimizeReferences>
     138      <AdditionalDependencies>SDL2.lib;SDL2main.lib;SDL2_image.lib;SDL2_ttf.lib;vulkan-1.lib;%(AdditionalDependencies)</AdditionalDependencies>
    138139    </Link>
    139140  </ItemDefinitionGroup>
  • vulkan-ref.cpp

    rfaa7bac r317ad13  
    1818#include <optional>
    1919#include <chrono>
     20
     21#include <SDL2/SDL.h>
     22#include <SDL2/SDL_ttf.h>
    2023
    2124#include "consts.hpp"
Note: See TracChangeset for help on using the changeset viewer.