add assimp library to ppremake

This commit is contained in:
rdb 2011-05-04 15:55:46 +00:00
parent a3aa464834
commit fc801b8568
4 changed files with 22 additions and 0 deletions

View File

@ -1065,6 +1065,12 @@
#define COLLADA15DOM_LIBS collada15dom xml2 boost_filesystem
#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
#define ARTOOLKIT_IPATH
#define ARTOOLKIT_LPATH

View File

@ -210,6 +210,11 @@
#else
#print - Did not find COLLADA DOM
#endif
#if $[HAVE_ASSIMP]
#print + Assimp
#else
#print - Did not find Assimp
#endif
#if $[HAVE_ARTOOLKIT]
#print + ARToolKit
#else

View File

@ -369,6 +369,11 @@
#set COLLADA15DOM_LIBS $[COLLADA15DOM_LIBS]
#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_LPATH $[unixfilename $[ARTOOLKIT_LPATH]]
#set ARTOOLKIT_LIBS $[ARTOOLKIT_LIBS]

View File

@ -491,6 +491,12 @@
#define collada15dom_libs $[COLLADA15DOM_LIBS]
#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]
#define artoolkit_ipath $[wildcard $[ARTOOLKIT_IPATH]]
#define artoolkit_lpath $[wildcard $[ARTOOLKIT_LPATH]]