From ebe9d9a13215ba15297bb8de18e9263ca4039eca Mon Sep 17 00:00:00 2001 From: Alexander Vieth Date: Tue, 17 Sep 2024 15:45:45 +0200 Subject: [PATCH] Update README.md (#127) * Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a157fc7..c3d17db 100644 --- a/README.md +++ b/README.md @@ -18,14 +18,14 @@ This project builds two plugins which wrap the functionality of the [HDILib](htt ## Compilation with a locally built HDILib By default, during the cmake configuration, a pre-built version of HDILib will be downloaded. You might want to compile the [HDILib](https://github.com/biovault/HDILib) locally instead. -To use this locally compiled library, set the cmake variable `USE_ARTIFACTORY_LIBS` to `OFF` and provide `HDILIB_ROOT`, e.g. `PATH_TO_HDILib_install\lib\cmake\HDILib` for cmake to find the HDILib binaries. +To use this locally compiled library, set the cmake variable `MV_SNE_USE_ARTIFACTORY_LIBS` to `OFF` and provide `HDILIB_ROOT`, e.g. `PATH_TO_HDILib_install\lib\cmake\HDILib` for cmake to find the HDILib binaries. -On Windows, in order to manage the HDILib dependency [flann](https://github.com/flann-lib/flann), we recommend using [vcpkg](https://github.com/microsoft/vcpkg/). Set up cmake to find pacakges with vcpkg by providing the variables CMAKE_TOOLCHAIN_FILE (`PATH_TO/vcpkg/scripts/buildsystems/vcpkg.cmake`) and VCPKG_TARGET_TRIPLET `x64-windows-static`. +On Windows, in order to manage the HDILib dependency [flann](https://github.com/flann-lib/flann), we recommend using [vcpkg](https://github.com/microsoft/vcpkg/). Set up cmake to find packages with vcpkg by providing the variables CMAKE_TOOLCHAIN_FILE (`PATH_TO/vcpkg/scripts/buildsystems/vcpkg.cmake`) and VCPKG_TARGET_TRIPLET `x64-windows-static-md`. See the [HDILib](https://github.com/biovault/HDILib) Readme for more details. Tested with Ubuntu 22.10, gcc 12.2.0: ```bash # In your local t-SNE analysis plugin folder -cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DUSE_ARTIFACTORY_LIBS=OFF -DHDILIB_ROOT=/PATH/TO/YOUR/LOCALHDILIB -DManiVault_DIR=/PATH/TO/MANIVAULT +cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DMV_SNE_USE_ARTIFACTORY_LIBS=OFF -DHDILIB_ROOT=/PATH/TO/YOUR/LOCALHDILIB -DManiVault_DIR=/PATH/TO/MANIVAULT cmake --build build --config Release --target install ```