mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
physx support for vs 2017
This commit is contained in:
parent
c0f298e37d
commit
c0b50792f7
1 changed files with 6 additions and 0 deletions
|
|
@ -52,6 +52,9 @@ if(TORQUE_CPU_X32)
|
||||||
set(PHYSX3_LIBPATH_PREFIX vc12win32)
|
set(PHYSX3_LIBPATH_PREFIX vc12win32)
|
||||||
elseif(MSVC14)
|
elseif(MSVC14)
|
||||||
set(PHYSX3_LIBPATH_PREFIX vc14win32)
|
set(PHYSX3_LIBPATH_PREFIX vc14win32)
|
||||||
|
#VS 2017 uses 14.x toolchain so can't use MSVC15
|
||||||
|
elseif(MSVC_VERSION GREATER_OR_EQUAL_TO 1910)
|
||||||
|
set(PHYSX3_LIBPATH_PREFIX vc15win32)
|
||||||
else()
|
else()
|
||||||
message(FATAL_ERROR "This version of VS is not supported")
|
message(FATAL_ERROR "This version of VS is not supported")
|
||||||
return()
|
return()
|
||||||
|
|
@ -65,6 +68,9 @@ elseif(TORQUE_CPU_X64)
|
||||||
set(PHYSX3_LIBPATH_PREFIX vc12win64)
|
set(PHYSX3_LIBPATH_PREFIX vc12win64)
|
||||||
elseif(MSVC14)
|
elseif(MSVC14)
|
||||||
set(PHYSX3_LIBPATH_PREFIX vc14win64)
|
set(PHYSX3_LIBPATH_PREFIX vc14win64)
|
||||||
|
#VS 2017 uses 14.x toolchain so can't use MSVC15
|
||||||
|
elseif(MSVC_VERSION GREATER_OR_EQUAL_TO 1910)
|
||||||
|
set(PHYSX3_LIBPATH_PREFIX vc15win64)
|
||||||
else()
|
else()
|
||||||
message(FATAL_ERROR "This version of VS is not supported")
|
message(FATAL_ERROR "This version of VS is not supported")
|
||||||
return()
|
return()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue