##// END OF EJS Templates
Completes visit of tab and zone...
Completes visit of tab and zone For a tab or a zone that can drops the variable, we add an action to its menu, of type "Open in new..." For example, for a tab, the new action action will be "Open in new zone". The action is separated to other actions in the menu

File last commit:

r2:451739a45362
r214:aa91a995c6e9
Show More
Findvera++.cmake
52 lines | 1.2 KiB | text/x-cmake | CMakeLexer
# - try to find vera++ tool
#
# Cache Variables:
# VERA++_ROOT_DIR
# VERA++_EXECUTABLE
# VERA++_USE_FILE
#
# Non-cache variables you might use in your CMakeLists.txt:
# VERA++_FOUND
#
# Requires these CMake modules:
# FindPackageHandleStandardArgs (known included with CMake >=2.6.2)
file(TO_CMAKE_PATH "${VERA++_ROOT_DIR}" VERA++_ROOT_DIR)
set(VERA++_ROOT_DIR
"${VERA++_ROOT_DIR}"
CACHE
PATH
"Path to search for vera++")
if(VERA++_EXECUTABLE AND NOT EXISTS "${VERA++_EXECUTABLE}")
set(VERA++_EXECUTABLE "notfound" CACHE PATH FORCE "")
endif()
# If we have a custom path, look there first.
if(VERA++_ROOT_DIR)
find_program(VERA++_EXECUTABLE
NAMES
vera++
PATHS
"${VERA++_ROOT_DIR}"
PATH_SUFFIXES
bin
NO_DEFAULT_PATH)
endif()
find_program(VERA++_EXECUTABLE NAMES vera++)
# Find the use file for vera
GET_FILENAME_COMPONENT(VERA++_MODULE_DIR ${CMAKE_CURRENT_LIST_FILE} PATH)
SET(VERA++_USE_FILE "${VERA++_MODULE_DIR}/use_vera++.cmake")
SET(VERA++_ALL ${VERA++_EXECUTABLE} ${VERA++_USE_FILE})
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(vera++
DEFAULT_MSG
VERA++_ALL
VERA++_EXECUTABLE
VERA++_USE_FILE)
mark_as_advanced(VERA++_EXECUTABLE)