![]() |
VPP
0.8
A high-level modern C++ API for Vulkan
|
Current (development) version of VPP supports Visual Studio 2015 and 2017, any edition.
You can build VPP under Visual Studio in two ways:
Both cases are very similar and both involves editing a file called vppBuild.props
. The file is located in the following directory in VPP source distribution:
Default contents of this file are as follows:
The general rule is that the vppBuild.props
file should be always in the same directory as the solution (.sln) file you are building VPP from. In case of standalone build, the default directory is the proper one. In case of your own solution, copy the file to the place where the solution file exists and edit it there.
Configurable macros are located in the first part of the file. Currently there are the following macros:
VPP_BUILD_BINDIR
- where binary DLL will be generated in case of building a DLL configuration.VPP_BUILD_LIBDIR
- where static libraries and import libraries will be generated.VPP_BUILD_INTDIR
- where intermediate files will be stored.VPP_VULKAN_DIR
- root directory of the Vulkan SDK.VPP_STATICLIB32_NAME
- name of 32-bit static version, without extension.VPP_SHAREDLIB32_NAME
- name of 32-bit DLL version, without extension.VPP_STATICLIB64_NAME
- name of 64-bit static version, without extension.VPP_SHAREDLIB64_NAME
- name of 64-bit DLL version, without extension.Relative paths are calculated with respect to the location of VPP project file, which is appripriate to standalone build. If you integrate VPP into your own project and want to specify output path relatively to it, use Visual Studio macros (e.g. like this:
By default VPP finds Vulkan by means of VULKAN_PATH
environment variable, but you can specify any directory (or other environment variable name) here.
Also the names of final files are configurable. By default, names of generated files will be as follows: VppStatic32.lib
, VppStatic64.lib
, VppShared32.dll
, VppShared32.lib
, VppShared64.dll
, VppShared64.lib
. The .lib files will be used as inputs to linker. You can either specify them manually in Additional Dependencies field, or use Link Library Dependencies option.
VPP provides the following configurations under Visual Studio: Debug
, DebugDLL
, Release
, ReleaseDLL
. Both 32-bit and 64-bit variants are supported.
The project file for inclusion in your own solutions is located in the following directory: