FidelityFX-SDK
FidelityFX-SDK copied to clipboard
Which folder should I specify for add_subdirectory > binary_dir?
Looks like if I want to include FidelityFX with CMake, it is possible to use add_subdirectory.
source_dir should be FidelityFX-SDK\sdk.
Looks like 2 choices for binary_dir:
- FidelityFX-SDK\sdk\build
- PROJECT_BINARY_DIR points to my
/build/windows, i.e., the BINARY variable points to /build, which is why the question comes into my mind.
- PROJECT_BINARY_DIR points to my
- FidelityFX-SDK\sdk\bin
- Without the above \build, I would of coz choose this \bin.
Thanks.
\build is where all the temporary files CMake generates and the CMake cache are. You should not be pulling these into anything.
What you want is what gets built and deployed into /bin/ffx_sdk/ (our samples link against all the libs in that folder)