# set TEST_PREFIX for subdirectories (they in turn can also add a sub-prefix): set (TEST_PREFIX "${TEST_PREFIX}EXTERNAL_") add_subdirectory(irrxml-1.2) add_subdirectory(gmtl-0.6.1) option(INVRS_ENABLE_EXTERNAL_AVATARA "build the external avatara lib" ON) if(INVRS_ENABLE_EXTERNAL_AVATARA) set(BUILD_EXTERNAL_AVATARA ON CACHE BOOL "flag that avatara will be built") mark_as_advanced(BUILD_EXTERNAL_AVATARA) add_subdirectory(avatara-1.0) endif(INVRS_ENABLE_EXTERNAL_AVATARA) option(INVRS_ENABLE_EXTERNAL_CAVESCENEMANAGER "build the external cavescenemanger lib" ON) if(INVRS_ENABLE_EXTERNAL_CAVESCENEMANAGER) set(BUILD_EXTERNAL_CAVESCENEMANAGER ON CACHE BOOL "flag that cavescenemanger will be built") mark_as_advanced(BUILD_EXTERNAL_CAVESCENEMANAGER) add_subdirectory(CAVESceneManager-1.0) endif(INVRS_ENABLE_EXTERNAL_CAVESCENEMANAGER) option (INVRS_ENABLE_EXTERNAL_FFD "Build inVRs support for free form deformation?" OFF) if(INVRS_ENABLE_EXTERNAL_FFD ) add_subdirectory(FFD-1.0) endif(INVRS_ENABLE_EXTERNAL_FFD ) option (INVRS_ENABLE_EXTERNAL_UFO "Build inVRs support for ufo?" ON) if(INVRS_ENABLE_EXTERNAL_UFO ) add_subdirectory(ufo) endif(INVRS_ENABLE_EXTERNAL_UFO )