From 8403a2d052ef4230f903d2de12cb886300ce677e Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 20 Mar 2023 20:18:34 +0100 Subject: cmake: add 64-bit sdk's to my userconfig --- sdk-paths-sthalik@MSVC-windows.cmake | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/sdk-paths-sthalik@MSVC-windows.cmake b/sdk-paths-sthalik@MSVC-windows.cmake index 8fd1b239..8f185695 100644 --- a/sdk-paths-sthalik@MSVC-windows.cmake +++ b/sdk-paths-sthalik@MSVC-windows.cmake @@ -20,25 +20,36 @@ endfunction() set(opentrack_install-debug-info TRUE CACHE INTERNAL "" FORCE) setq(EIGEN3_INCLUDE_DIR "eigen") -setq(OpenCV_DIR "opencv/build/install") -setq(SDL2_DIR "SDL2-win32") -setq(SDK_ARUCO_LIBPATH "aruco/build/src/aruco.lib") -setq(SDK_EYEWARE_BEAM "BeamSDK-Windows64-1.1.0") -setq(SDK_FSUIPC "fsuipc") -setq(SDK_HYDRA "SixenseSDK") +setq(SDK_RIFT_140 "ovr_sdk_win_23.0.0/LibOVR") setq(SDK_KINECT20 "Kinect-v2.0") -setq(SDK_LIBUSB "libusb-msvc-x86") +setq(SDK_VJOYSTICK "vjoystick") setq(SDK_PS3EYEDRIVER "PS3EYEDriver") setq(SDK_REALSENSE "RSSDK-R2") -setq(SDK_RIFT_140 "ovr_sdk_win_23.0.0/LibOVR") setq(SDK_VALVE_STEAMVR "steamvr") -setq(SDK_VJOYSTICK "vjoystick") +setq(SDK_FSUIPC "fsuipc") +setq(SDK_HYDRA "SixenseSDK") +if(CMAKE_SIZEOF_VOID_P EQUAL 8) +setq(Qt5_DIR "../qt-5.15-kde-amd64/lib/cmake/Qt5") +setq(OpenCV_DIR "opencv/build-amd64/install") +setq(SDK_ARUCO_LIBPATH "aruco/build-amd64/src/aruco.lib") +setq(SDK_LIBUSB "libusb-msvc-amd64") +setq(ONNXRuntime_DIR "onnxruntime-1.12.1-amd64") +setq(SDK_TRACKHAT_SENSOR "trackhat-c-library-driver/build-amd64/install") +setq(SDK_EYEWARE_BEAM "BeamSDK-Windows64-1.1.0") +elseif(CMAKE_SIZEOF_VOID_P EQUAL 4) +setq(Qt5_DIR "../qt-5.15-kde/lib/cmake/Qt5") +setq(OpenCV_DIR "opencv/build/install") +setq(SDK_ARUCO_LIBPATH "aruco/build/src/aruco.lib") +setq(SDK_LIBUSB "libusb-msvc-x86") setq(ONNXRuntime_DIR "onnxruntime-1.12.1") setq(SDK_TRACKHAT_SENSOR "trackhat-c-library-driver/build/install") +set(SDK_EYEWARE_BEAM "" CACHE PATH "" FORCE) +else() + message(FATAL_ERROR "unknown word size ${CMAKE_SIZEOF_VOID_P}b") +endif() set(CMAKE_ASM_NASM_COMPILER nasm.exe CACHE FILEPATH "" FORCE) -setq(Qt5_DIR "../qt-5.15-kde/lib/cmake/Qt5") set(Qt5Core_DIR "${Qt5_DIR}Core" CACHE PATH "" FORCE) set(Qt5Gui_DIR "${Qt5_DIR}Gui" CACHE PATH "" FORCE) -- cgit v1.2.3