mirror of
https://github.com/bulletphysics/bullet3
synced 2025-01-10 17:30:12 +00:00
moved Bullet COLLADA Convert into Extras folder, instead of embedded in the ColladaDemo
This commit is contained in:
parent
ca24f9941e
commit
b0627e30cf
@ -48,15 +48,14 @@ ELSE (WIN32)
|
||||
ENDIF (WIN32)
|
||||
|
||||
INCLUDE_DIRECTORIES(
|
||||
${BULLET_PHYSICS_SOURCE_DIR}/Extras/LibXML ${BULLET_PHYSICS_SOURCE_DIR}/Extras/LibXML/include ${BULLET_PHYSICS_SOURCE_DIR}/Extras/COLLADA_DOM/include/1.4 ${BULLET_PHYSICS_SOURCE_DIR}/Extras/COLLADA_DOM/include ${BULLET_PHYSICS_SOURCE_DIR}/src ${BULLET_PHYSICS_SOURCE_DIR}/Demos/OpenGL }
|
||||
${BULLET_PHYSICS_SOURCE_DIR}/Extras/BulletColladaConverter ${BULLET_PHYSICS_SOURCE_DIR}/Extras/LibXML ${BULLET_PHYSICS_SOURCE_DIR}/Extras/LibXML/include ${BULLET_PHYSICS_SOURCE_DIR}/Extras/COLLADA_DOM/include/1.4 ${BULLET_PHYSICS_SOURCE_DIR}/Extras/COLLADA_DOM/include ${BULLET_PHYSICS_SOURCE_DIR}/src ${BULLET_PHYSICS_SOURCE_DIR}/Demos/OpenGL }
|
||||
)
|
||||
|
||||
LINK_LIBRARIES(
|
||||
LibColladaDom LibXML LibOpenGLSupport LibBulletDynamics LibBulletCollision LibLinearMath ${GLUT_glut_LIBRARY} ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY}
|
||||
LibBulletColladaConverter LibColladaDom LibXML LibOpenGLSupport LibBulletDynamics LibBulletCollision LibLinearMath ${GLUT_glut_LIBRARY} ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY}
|
||||
)
|
||||
|
||||
ADD_EXECUTABLE(ColladaDemo
|
||||
ColladaDemo.cpp
|
||||
ColladaConverter.cpp
|
||||
)
|
||||
|
||||
|
@ -6,9 +6,10 @@ SubDir TOP Demos ColladaDemo ;
|
||||
|
||||
{
|
||||
Application $(<) : $(>) : noinstall console nomanifest ;
|
||||
LinkWith $(<) : colladadom libxml bulletopenglsupport bulletdynamics bulletcollision bulletmath ;
|
||||
LinkWith $(<) : BulletColladaConverter colladadom libxml bulletopenglsupport bulletdynamics bulletcollision bulletmath ;
|
||||
CFlags $(<) :
|
||||
[ FIncludes $(TOP)/Demos/OpenGL ]
|
||||
[ FIncludes $(TOP)/Extras/BulletColladaConverter ]
|
||||
[ FIncludes $(TOP)/Extras/COLLADA_DOM/include ]
|
||||
[ FIncludes $(TOP)/Extras/COLLADA_DOM/include/1.4 ]
|
||||
[ FIncludes $(TOP)/Extras/LibXML ]
|
||||
@ -19,6 +20,7 @@ SubDir TOP Demos ColladaDemo ;
|
||||
|
||||
MsvcIncDirs $(<) :
|
||||
"../../Demos/OpenGL"
|
||||
"../../Extras/BulletColladaConverter"
|
||||
"../../Extras/COLLADA_DOM/include"
|
||||
"../../Extras/COLLADA_DOM/include/1.4"
|
||||
"../../Extras/LibXML"
|
||||
|
7
Extras/BulletColladaConverter/CMakeLists.txt
Normal file
7
Extras/BulletColladaConverter/CMakeLists.txt
Normal file
@ -0,0 +1,7 @@
|
||||
INCLUDE_DIRECTORIES(
|
||||
${BULLET_PHYSICS_SOURCE_DIR}/src ${BULLET_PHYSICS_SOURCE_DIR}/Extras/BulletColladaConverter ${BULLET_PHYSICS_SOURCE_DIR}/Extras/LibXML/include ${BULLET_PHYSICS_SOURCE_DIR}/Extras/COLLADA_DOM/include ${BULLET_PHYSICS_SOURCE_DIR}/Extras/COLLADA_DOM/include/1.4
|
||||
)
|
||||
|
||||
ADD_LIBRARY(LibBulletColladaConverter
|
||||
ColladaConverter.cpp
|
||||
)
|
19
Extras/BulletColladaConverter/Jamfile
Normal file
19
Extras/BulletColladaConverter/Jamfile
Normal file
@ -0,0 +1,19 @@
|
||||
SubDir TOP Extras BulletColladaConverter ;
|
||||
|
||||
#IncludeDir Extras/BulletColladaConverter ;
|
||||
|
||||
Library BulletColladaConverter : [ Wildcard . : */.h *.cpp ] : noinstall ;
|
||||
CFlags BulletColladaConverter : [ FIncludes $(TOP)/Extras/BulletColladaConverter ] [ FIncludes $(TOP)/Extras/COLLADA_DOM/include ] [ FIncludes $(TOP)/Extras/COLLADA_DOM/include/1.4 ] [ FIncludes $(TOP)/Extras/LibXML ] [ FIncludes $(TOP)/Extras/LibXML/include ] ;
|
||||
|
||||
LibDepends BulletColladaConverter : colladadom libxml ;
|
||||
|
||||
MsvcIncDirs BulletColladaConverter :
|
||||
"../../Extras/BulletColladaConverter"
|
||||
"../../Extras/COLLADA_DOM/include"
|
||||
"../../Extras/COLLADA_DOM/include/1.4"
|
||||
"../../Extras/LibXML"
|
||||
"../../Extras/LibXML/include"
|
||||
|
||||
;
|
||||
|
||||
InstallHeader [ Wildcard *.h ] : BulletColladaConverter ;
|
@ -1 +1 @@
|
||||
SUBDIRS( LibXML COLLADA_DOM GIMPACT )
|
||||
SUBDIRS( BulletColladaConverter LibXML COLLADA_DOM GIMPACT )
|
||||
|
@ -3,6 +3,7 @@ SubDir TOP Extras ;
|
||||
SubInclude TOP Extras ConvexDecomposition ;
|
||||
SubInclude TOP Extras COLLADA_DOM ;
|
||||
SubInclude TOP Extras LibXML ;
|
||||
SubInclude TOP Extras BulletColladaConverter ;
|
||||
SubInclude TOP Extras BulletMultiThreaded ;
|
||||
#SubInclude TOP Extras EPA ;
|
||||
#SubInclude TOP Extras ExtraSolid35 ;
|
||||
|
Loading…
Reference in New Issue
Block a user