ppremake-style output report
This commit is contained in:
parent
cebdcd1d43
commit
6e86570b9a
|
|
@ -180,15 +180,276 @@ else()
|
|||
endif()
|
||||
|
||||
# Now go through all the packages and report whether we have them.
|
||||
message(STATUS "Configuring support for the following optional third-party packages:")
|
||||
|
||||
#report_package(EIGEN "Eigen linear algebra library")
|
||||
if(LINMATH_ALIGN)
|
||||
message("+ (vectorization enabled in build)")
|
||||
message("")
|
||||
message("Configuring support for the following optional third-party packages:")
|
||||
if(HAVE_EIGEN)
|
||||
message("+ Eigen linear algebra library")
|
||||
if(LINMATH_ALIGN)
|
||||
message("+ (vectorization enabled in build)")
|
||||
else()
|
||||
message("- (vectorization NOT enabled in build)")
|
||||
endif()
|
||||
else()
|
||||
message("- (vectorization NOT enabled in build)")
|
||||
message("- Did not find Eigen linear algebra library")
|
||||
endif()
|
||||
|
||||
if(HAVE_OPENSSL)
|
||||
message("+ OpenSSL")
|
||||
else()
|
||||
message("- Did not find OpenSSL")
|
||||
endif()
|
||||
|
||||
if(HAVE_JPEG)
|
||||
message("+ libjpeg")
|
||||
else()
|
||||
message("- Did not find libjpeg")
|
||||
endif()
|
||||
|
||||
if(HAVE_PNG)
|
||||
message("+ libpng")
|
||||
else()
|
||||
message("- Did not find libpng")
|
||||
endif()
|
||||
|
||||
if(HAVE_TIFF)
|
||||
message("+ libtiff")
|
||||
else()
|
||||
message("- Did not find libtiff")
|
||||
endif()
|
||||
|
||||
if(HAVE_TAR)
|
||||
message("+ libtar")
|
||||
else()
|
||||
message("- Did not find libtar")
|
||||
endif()
|
||||
|
||||
if(HAVE_FFTW)
|
||||
message("+ fftw")
|
||||
else()
|
||||
message("- Did not find fftw")
|
||||
endif()
|
||||
|
||||
if(HAVE_SQUISH)
|
||||
message("+ squish")
|
||||
else()
|
||||
message("- Did not find squish")
|
||||
endif()
|
||||
|
||||
if(HAVE_CG)
|
||||
message("+ Nvidia Cg High Level Shading Language")
|
||||
else()
|
||||
message("- Did not find Nvidia Cg High Level Shading Language")
|
||||
endif()
|
||||
|
||||
if(HAVE_CGGL)
|
||||
message("+ Cg OpenGL API")
|
||||
else()
|
||||
message("- Did not find Cg OpenGL API")
|
||||
endif()
|
||||
|
||||
if(HAVE_CGDX8)
|
||||
message("+ Cg DX8 API")
|
||||
else()
|
||||
message("- Did not find Cg DX8 API")
|
||||
endif()
|
||||
|
||||
if(HAVE_CGDX9)
|
||||
message("+ Cg DX9 API")
|
||||
else()
|
||||
message("- Did not find Cg DX9 API")
|
||||
endif()
|
||||
|
||||
if(HAVE_CGDX10)
|
||||
message("+ Cg DX10 API")
|
||||
else()
|
||||
message("- Did not find Cg DX10 API")
|
||||
endif()
|
||||
|
||||
if(HAVE_VRPN)
|
||||
message("+ VRPN")
|
||||
else()
|
||||
message("- Did not find VRPN")
|
||||
endif()
|
||||
|
||||
if(HAVE_ZLIB)
|
||||
message("+ zlib")
|
||||
else()
|
||||
message("- Did not find zlib")
|
||||
endif()
|
||||
|
||||
if(HAVE_RAD_MSS)
|
||||
message("+ Miles Sound System")
|
||||
else()
|
||||
message("- Did not find Miles Sound System")
|
||||
endif()
|
||||
|
||||
if(HAVE_FMODEX)
|
||||
message("+ FMOD Ex sound library")
|
||||
else()
|
||||
message("- Did not find FMOD Ex sound library")
|
||||
endif()
|
||||
|
||||
if(HAVE_OPENAL)
|
||||
message("+ OpenAL sound library")
|
||||
else()
|
||||
message("- Did not find OpenAL sound library")
|
||||
endif()
|
||||
|
||||
if(HAVE_PHYSX)
|
||||
message("+ Ageia PhysX")
|
||||
else()
|
||||
message("- Did not find Ageia PhysX")
|
||||
endif()
|
||||
|
||||
if(HAVE_SPEEDTREE)
|
||||
message("+ SpeedTree")
|
||||
else()
|
||||
message("- Did not find SpeedTree")
|
||||
endif()
|
||||
|
||||
if(HAVE_GTK)
|
||||
message("+ gtk+-2")
|
||||
else()
|
||||
message("- Did not find gtk+-2")
|
||||
endif()
|
||||
|
||||
if(HAVE_FREETYPE)
|
||||
message("+ Freetype")
|
||||
else()
|
||||
message("- Did not find Freetype")
|
||||
endif()
|
||||
|
||||
if(HAVE_WX)
|
||||
message("+ WxWidgets")
|
||||
else()
|
||||
message("- Did not find WxWidgets")
|
||||
endif()
|
||||
|
||||
if(HAVE_FLTK)
|
||||
message("+ FLTK")
|
||||
else()
|
||||
message("- Did not find FLTK")
|
||||
endif()
|
||||
|
||||
if(HAVE_GL)
|
||||
message("+ OpenGL")
|
||||
else()
|
||||
message("- Did not find OpenGL")
|
||||
endif()
|
||||
|
||||
if(HAVE_GLES)
|
||||
message("+ OpenGL ES 1")
|
||||
else()
|
||||
message("- Did not find OpenGL ES 1")
|
||||
endif()
|
||||
|
||||
if(HAVE_GLES2)
|
||||
message("+ OpenGL ES 2")
|
||||
else()
|
||||
message("- Did not find OpenGL ES 2")
|
||||
endif()
|
||||
|
||||
if(HAVE_DX8)
|
||||
message("+ DirectX8")
|
||||
else()
|
||||
message("- Did not find DirectX8")
|
||||
endif()
|
||||
|
||||
if(HAVE_DX9)
|
||||
message("+ DirectX9")
|
||||
else()
|
||||
message("- Did not find DirectX9")
|
||||
endif()
|
||||
|
||||
if(HAVE_TINYDISPLAY)
|
||||
message("+ Tinydisplay")
|
||||
else()
|
||||
message("- Not building Tinydisplay")
|
||||
endif()
|
||||
|
||||
if(HAVE_X11)
|
||||
message("+ X11")
|
||||
else()
|
||||
message("- Did not find X11")
|
||||
endif()
|
||||
|
||||
if(HAVE_MESA)
|
||||
message("+ Mesa")
|
||||
else()
|
||||
message("- Did not find Mesa")
|
||||
endif()
|
||||
|
||||
if(HAVE_OPENCV)
|
||||
message("+ OpenCV")
|
||||
else()
|
||||
message("- Did not find OpenCV")
|
||||
endif()
|
||||
|
||||
if(HAVE_FFMPEG)
|
||||
message("+ FFMPEG")
|
||||
else()
|
||||
message("- Did not find FFMPEG")
|
||||
endif()
|
||||
|
||||
if(HAVE_ODE)
|
||||
message("+ ODE")
|
||||
else()
|
||||
message("- Did not find ODE")
|
||||
endif()
|
||||
|
||||
if(HAVE_AWESOMIUM)
|
||||
message("+ AWESOMIUM")
|
||||
else()
|
||||
message("- Did not find AWESOMIUM")
|
||||
endif()
|
||||
|
||||
if(HAVE_MAYA)
|
||||
message("+ OpenMaya")
|
||||
else()
|
||||
message("- Did not find OpenMaya")
|
||||
endif()
|
||||
|
||||
if(HAVE_FCOLLADA)
|
||||
message("+ FCollada")
|
||||
else()
|
||||
message("- Did not find FCollada")
|
||||
endif()
|
||||
|
||||
if(HAVE_ASSIMP)
|
||||
message("+ Assimp")
|
||||
else()
|
||||
message("- Did not find Assimp")
|
||||
endif()
|
||||
|
||||
if(HAVE_ARTOOLKIT)
|
||||
message("+ ARToolKit")
|
||||
else()
|
||||
message("- Did not find ARToolKit")
|
||||
endif()
|
||||
|
||||
if(HAVE_ROCKET)
|
||||
if(HAVE_ROCKET_PYTHON)
|
||||
message("+ libRocket with Python bindings")
|
||||
else()
|
||||
message("+ libRocket without Python bindings")
|
||||
endif()
|
||||
else()
|
||||
message("- Did not find libRocket")
|
||||
endif()
|
||||
|
||||
if(HAVE_BULLET)
|
||||
message("+ Bullet Physics")
|
||||
else()
|
||||
message("- Did not find Bullet Physics")
|
||||
endif()
|
||||
|
||||
if(HAVE_VORBIS)
|
||||
message("+ libvorbis (Ogg Vorbis Decoder)")
|
||||
else()
|
||||
message("- Did not find libvorbis (Ogg Vorbis Decoder)")
|
||||
endif()
|
||||
|
||||
message("")
|
||||
if(HAVE_INTERROGATE AND HAVE_PYTHON)
|
||||
message("Compilation will generate Python interfaces.")
|
||||
else()
|
||||
|
|
@ -198,10 +459,8 @@ endif()
|
|||
if(HAVE_THREADS)
|
||||
if(SIMPLE_THREADS)
|
||||
message("Compilation will include simulated threading support.")
|
||||
|
||||
elseif(DO_PIPELINING)
|
||||
message("Compilation will include full, pipelined threading support.")
|
||||
|
||||
else()
|
||||
message("Compilation will include nonpipelined threading support.")
|
||||
endif()
|
||||
|
|
@ -209,8 +468,11 @@ else()
|
|||
message("Configuring Panda without threading support.")
|
||||
endif()
|
||||
|
||||
message("")
|
||||
message("See dtool_config.h for more details about the specified configuration.")
|
||||
|
||||
message("")
|
||||
|
||||
# Generate dtool_config.h
|
||||
configure_file(dtool_config.h.in "${PROJECT_BINARY_DIR}/include/dtool_config.h")
|
||||
include_directories("${PROJECT_BINARY_DIR}/include")
|
||||
|
|
|
|||
|
|
@ -1,6 +1,3 @@
|
|||
message(STATUS "")
|
||||
message(STATUS "Configuring support for the following optional third-party packages:")
|
||||
|
||||
# Find and configure Miles Sound System
|
||||
find_package(Miles QUIET)
|
||||
#config_package(RAD_MSS "Miles Sound System")
|
||||
|
|
|
|||
Loading…
Reference in New Issue