2014-03-18 13:27:25 +01:00
|
|
|
project(libtheora)
|
|
|
|
|
|
2014-06-02 02:15:55 +02:00
|
|
|
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()
|
2014-03-18 13:27:25 +01:00
|
|
|
|
2014-03-18 20:12:13 +01:00
|
|
|
addDef(TORQUE_OGGTHEORA)
|
|
|
|
|
addDef(TORQUE_OGGVORIBS)
|
|
|
|
|
addInclude(${libDir}/libogg/include)
|
|
|
|
|
addInclude(${libDir}/libtheora/include)
|
2014-06-02 01:35:06 +02:00
|
|
|
|
|
|
|
|
finishLibrary()
|