Lines Matching refs:executable
91 The result will be the full path name of the bundle's main executable
99 full path to an executable. If there is no such parent dir, then
100 simply return the dir containing the executable.
108 Takes either a ``.app`` directory name or the name of an executable
110 directory in ``<bundle_var>`` and the path to its main executable in
117 Scans ``<bundle>`` bundle recursively for all ``<exes_var>`` executable
154 Loop over all the executable and library files within ``<app>`` bundle (and
276 # is the name of the main executable.
296 # there is only one executable file that matches, then use it, otherwise
301 # But for now, pragmatically, it's an error. Expect the main executable
312 # If there is no Info.plist file, try to find an executable with the same
327 # (typical of a Mac bundle executable)
342 # (typical of a non-bundle executable on Mac, Windows or Linux)
365 get_bundle_main_executable("${app}" executable)
366 if(EXISTS "${app}" AND EXISTS "${executable}")
368 set(${executable_var} "${executable}" PARENT_SCOPE)
378 # Is it an executable file?
386 #message(STATUS "info: handled executable file in .app dir case...")
392 #message(STATUS "info: handled executable file in any dir case...")
395 message(STATUS "warning: *NOT* handled - not .app dir, not executable file...")
421 # executable to have execute flag set we can narrow the list much quicker.
549 # the resolved executable next to the main bundle executable. This is here
580 get_bundle_and_executable("${app}" bundle executable valid)
582 # Always use the exepath of the main bundle executable for @executable_path
585 get_filename_component(exepath "${executable}" PATH)
591 # Set keys for main executable first:
593 set_bundle_key_values(${keys_var} "${executable}" "${executable}" "${exepath}" "${dirs}" 0)
595 # Get rpaths specified by main executable:
597 get_item_key("${executable}" executable_key)
621 # For each executable found in the bundle, accumulate keys as we go.
626 # Main executable is scanned first above:
628 if(NOT exe STREQUAL executable)
633 # Get rpaths specified by executable:
929 get_bundle_and_executable("${app}" bundle executable valid)
931 get_filename_component(exepath "${executable}" PATH)
1027 message(STATUS "executable file ${count}: ${f}")
1073 set(info "Verified ${count} executable files in '${bundle}'")
1103 get_bundle_and_executable("${app}" bundle executable valid)
1108 message(STATUS "executable='${executable}'")