Skip to content

sample vs2019 toolchain.cmake

Kelly (KT) Thompson edited this page Jan 5, 2020 · 3 revisions
# VS2019 toolchain

set(VENDOR_DIR c:/work/vendors64 CACHE PATH "Location of TPL installations")
# Use KT's for of vcpkg to get R123
# set(RANDOM123_INC_DIR c:/work/vendors64/Random123-1.08/include CACHE PATH "Location of Random123 header files")
list(APPEND CMAKE_PREFIX_PATH
  c:/work/vendors64/eospac6 )

# TPLs via vcpkg
# https://vcpkg.readthedocs.io/en/latest/about/faq/#can-i-use-my-own-cmake-toolchain-file-with-vcpkgs-toolchain-file
include("C:/work/KineticTheory/vcpkg/scripts/buildsystems/vcpkg.cmake")