mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 23:54:35 +00:00
CMake changes for dedicated builds.
This commit is contained in:
parent
8a50895062
commit
17bd69e659
5 changed files with 138 additions and 21 deletions
|
|
@ -1,3 +1,7 @@
|
|||
project(convexDecomp)
|
||||
|
||||
if(UNIX)
|
||||
addDef(LINUX)
|
||||
endif()
|
||||
|
||||
finishLibrary("${libDir}/convexDecomp")
|
||||
|
|
|
|||
|
|
@ -1,6 +1,18 @@
|
|||
project(libtheora)
|
||||
|
||||
addPathRec("${libDir}/libtheora")
|
||||
addPath( "${libDir}/libtheora" )
|
||||
addPathRec( "${libDir}/libtheora/include" )
|
||||
addPath( "${libDir}/libtheora/lib" )
|
||||
addPath( "${libDir}/libtheora/lib/dec" )
|
||||
addPath( "${libDir}/libtheora/lib/enc" )
|
||||
|
||||
if(WIN32)
|
||||
addPath( "${libDir}/libtheora/lib/dec/x86_vc" )
|
||||
addPath( "${libDir}/libtheora/lib/enc/x86_32_vs" )
|
||||
else()
|
||||
addPath( "${libDir}/libtheora/lib/dec/x86" )
|
||||
addPath( "${libDir}/libtheora/lib/enc/x86_32" )
|
||||
endif()
|
||||
|
||||
addDef(TORQUE_OGGTHEORA)
|
||||
addDef(TORQUE_OGGVORIBS)
|
||||
|
|
|
|||
|
|
@ -6,4 +6,8 @@ addDef(TORQUE_OGGVORBIS)
|
|||
addInclude(${libDir}/libvorbis/include)
|
||||
addInclude(${libDir}/libogg/include)
|
||||
|
||||
if(UNIX)
|
||||
addInclude(${libDir}/libvorbis/lib)
|
||||
endif()
|
||||
|
||||
finishLibrary()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue