forked from opentrack/opentrack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sdk-paths-sthalik@MSVC-windows.cmake
45 lines (36 loc) · 1.5 KB
/
sdk-paths-sthalik@MSVC-windows.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#
# qtbase configure line for safekeeping
#
# "../configure" -prefix d:\dev\qt-5.10.0 -no-ico -no-gif -no-libjpeg \
# -opengl desktop -no-angle -no-fontconfig -no-harfbuzz \
# -nomake tests -no-mp -release -opensource -shared -confirm-license \
# -no-freetype -force-debug-info -separate-debug-info \
# -make-tool jom -platform win32-msvc
# remember to change -MD to -MT in mkspecs/
# also add CFLAGS -Zi and LFLAGS -DEBUG
set(__depdir "${CMAKE_CURRENT_LIST_DIR}/../opentrack-depends")
function(setq name value)
set("${name}" "${__depdir}/${value}" CACHE INTERNAL "" FORCE)
endfunction()
set(opentrack_install-debug-info TRUE CACHE INTERNAL "" FORCE)
set(opentrack_maintainer-mode TRUE CACHE INTERNAL "" FORCE)
setq(Qt5_DIR "../qt-5.12.0/lib/cmake/Qt5")
setq(EIGEN3_INCLUDE_DIR "eigen")
setq(OpenCV_DIR "opencv/build")
setq(SDL2_DIR "SDL2-win32")
setq(SDK_ARUCO_LIBPATH "aruco/build/src/aruco.lib")
setq(SDK_FSUIPC "fsuipc")
setq(SDK_HYDRA "SixenseSDK")
setq(SDK_KINECT20 "Kinect-v2.0")
setq(SDK_LIBUSB "libusb-msvc-x86")
setq(SDK_PS3EYEDRIVER "PS3EYEDriver")
setq(SDK_REALSENSE "RSSDK-R3")
setq(SDK_RIFT_140 "ovr_sdk_win_1.43.0/LibOVR")
setq(SDK_VALVE_STEAMVR "steamvr")
setq(SDK_VJOYSTICK "vjoystick")
set(Qt5_DIR "c:/qt/qt-5.14.0/lib/cmake/Qt5" CACHE PATH "" FORCE)
set(Qt5Core_DIR "${Qt5_DIR}Core" CACHE PATH "" FORCE)
set(Qt5Gui_DIR "${Qt5_DIR}Gui" CACHE PATH "" FORCE)
if(CMAKE_GENERATOR STREQUAL "NMake Makefiles")
set(CMAKE_MAKE_PROGRAM "jom" CACHE STRING "" FORCE)
endif()