Skip to content

Latest commit

 

History

History
46 lines (27 loc) · 1.88 KB

building-samples.md

File metadata and controls

46 lines (27 loc) · 1.88 KB

Building FidelityFX SDK Samples

Generating solutions for the FidelityFX SDK

To build the samples in the AMD FidelityFX SDK you should follow these instructions:

  1. Install the following software developer tool minimum versions:
  1. Generate Visual Studio FSR sample solutions:

Native-backend linked version

> <installation path>\BuildFSRSolutionNative.bat

Native-backend DLL version

> <installation path>\BuildFSRSolutionNativeDll.bat

This will generate a build\ directory where you will find the solution for either the native-backend-backed SDK samples (FidelityFX SDK Native.sln).

Building & running in Visual Studio

Building the project

By default, the Visual Studio solution file (.sln) that is generated by CMake will contain projects for all sample applications included in the SDK. To build the projects in the solution, you should click on Build and then Build solution from the menu at the top of Visual Studio. This will build all dependencies of the samples (such as the Cauldron framework), before then building the full collection of sample applications.

Running the project

To run a project from Visual Studio you should follow the following instrutions:

  1. Select the project of interest in the solution explorer under the "Effects" folder.

  2. Right-click the project and select 'Set as Start-up project'.

  3. Click on the Build menu item from the toolstrip, and then click on Run.