mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
add assimp library to ppremake
This commit is contained in:
parent
a3aa464834
commit
fc801b8568
@ -1065,6 +1065,12 @@
|
|||||||
#define COLLADA15DOM_LIBS collada15dom xml2 boost_filesystem
|
#define COLLADA15DOM_LIBS collada15dom xml2 boost_filesystem
|
||||||
#defer HAVE_COLLADA15DOM $[libtest $[COLLADA15DOM_LPATH],$[COLLADA15DOM_LIBS]]
|
#defer HAVE_COLLADA15DOM $[libtest $[COLLADA15DOM_LPATH],$[COLLADA15DOM_LIBS]]
|
||||||
|
|
||||||
|
// The Assimp library loads various model formats.
|
||||||
|
#define ASSIMP_IPATH /usr/local/include/assimp
|
||||||
|
#define ASSIMP_LPATH /usr/local/lib
|
||||||
|
#define ASSIMP_LIBS assimp
|
||||||
|
#define HAVE_ASSIMP $[libtest $[ASSIMP_LPATH],$[ASSIMP_LIBS]]
|
||||||
|
|
||||||
// Also for the ARToolKit library, for augmented reality
|
// Also for the ARToolKit library, for augmented reality
|
||||||
#define ARTOOLKIT_IPATH
|
#define ARTOOLKIT_IPATH
|
||||||
#define ARTOOLKIT_LPATH
|
#define ARTOOLKIT_LPATH
|
||||||
|
@ -210,6 +210,11 @@
|
|||||||
#else
|
#else
|
||||||
#print - Did not find COLLADA DOM
|
#print - Did not find COLLADA DOM
|
||||||
#endif
|
#endif
|
||||||
|
#if $[HAVE_ASSIMP]
|
||||||
|
#print + Assimp
|
||||||
|
#else
|
||||||
|
#print - Did not find Assimp
|
||||||
|
#endif
|
||||||
#if $[HAVE_ARTOOLKIT]
|
#if $[HAVE_ARTOOLKIT]
|
||||||
#print + ARToolKit
|
#print + ARToolKit
|
||||||
#else
|
#else
|
||||||
|
@ -369,6 +369,11 @@
|
|||||||
#set COLLADA15DOM_LIBS $[COLLADA15DOM_LIBS]
|
#set COLLADA15DOM_LIBS $[COLLADA15DOM_LIBS]
|
||||||
#set HAVE_COLLADA15DOM $[HAVE_COLLADA15DOM]
|
#set HAVE_COLLADA15DOM $[HAVE_COLLADA15DOM]
|
||||||
|
|
||||||
|
#set ASSIMP_IPATH $[unixfilename $[ASSIMP_IPATH]]
|
||||||
|
#set ASSIMP_LPATH $[unixfilename $[ASSIMP_LPATH]]
|
||||||
|
#set ASSIMP_LIBS $[ASSIMP_LIBS]
|
||||||
|
#set HAVE_ASSIMP $[HAVE_ASSIMP]
|
||||||
|
|
||||||
#set ARTOOLKIT_IPATH $[unixfilename $[ARTOOLKIT_IPATH]]
|
#set ARTOOLKIT_IPATH $[unixfilename $[ARTOOLKIT_IPATH]]
|
||||||
#set ARTOOLKIT_LPATH $[unixfilename $[ARTOOLKIT_LPATH]]
|
#set ARTOOLKIT_LPATH $[unixfilename $[ARTOOLKIT_LPATH]]
|
||||||
#set ARTOOLKIT_LIBS $[ARTOOLKIT_LIBS]
|
#set ARTOOLKIT_LIBS $[ARTOOLKIT_LIBS]
|
||||||
|
@ -491,6 +491,12 @@
|
|||||||
#define collada15dom_libs $[COLLADA15DOM_LIBS]
|
#define collada15dom_libs $[COLLADA15DOM_LIBS]
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if $[HAVE_ASSIMP]
|
||||||
|
#define assimp_ipath $[wildcard $[ASSIMP_IPATH]]
|
||||||
|
#define assimp_lpath $[wildcard $[ASSIMP_LPATH]]
|
||||||
|
#define assimp_libs $[ASSIMP_LIBS]
|
||||||
|
#endif
|
||||||
|
|
||||||
#if $[HAVE_ARTOOLKIT]
|
#if $[HAVE_ARTOOLKIT]
|
||||||
#define artoolkit_ipath $[wildcard $[ARTOOLKIT_IPATH]]
|
#define artoolkit_ipath $[wildcard $[ARTOOLKIT_IPATH]]
|
||||||
#define artoolkit_lpath $[wildcard $[ARTOOLKIT_LPATH]]
|
#define artoolkit_lpath $[wildcard $[ARTOOLKIT_LPATH]]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user