1 ############################################################################## 2 # @file BasisScriptConfig.cmake 3 # @brief BASIS script configuration. 5 # @note The file BasisScriptConfig.cmake is automatically generated by BASIS 6 # from the template file ScriptConfig.cmake.in which is part of BASIS. 8 # This script configuration file is included before the default script 9 # configuration file which is part of the package itself (ScriptConfig.cmake), 10 # if such file exists in the @c PROJECT_CONFIG_DIR. 11 # Therefore, the BASIS script configuration can be overwritten by the 12 # default script configuration of the project, which in turn can be 13 # overwritten specifically for each script target by specifying a 14 # script target-specific script configuration using the @c CONFIG and/or 15 # @c CONFIG_FILE option of the basis_add_executable() or basis_add_library() 16 # command, respectively. 18 # @sa https://cmake-basis.github.io/standard/scripttargets.html#script-configuration 20 # @ingroup BasisScriptConfig 21 ############################################################################## 23 ## @addtogroup BasisScriptConfig 27 # ============================================================================ 29 # ============================================================================ 31 # Note: The following set() commands are required for the API documentation. 33 ## @brief Detected scripting language or UNKNOWN. 36 ## @brief Directory of script file.
38 # @note Mainly used in script configuration itself to make relative paths
42 ## @brief Absolute path of script file. 44 # @note As this path is fixed after the build, it should be used only if 45 # it is not otherwise possible to determine the path of the current 46 # script file. It prohibits the relocation of the installation. 49 ## @brief Name of script file.
52 ## @brief Name of script file in uppercase only. 53 string (TOUPPER
"${__NAME__}" __NAME_U__)
54 ## @brief Name of script file in lowercase only. 55 string (TOLOWER
"${__NAME__}" __NAME_L__)
57 # ============================================================================ 58 # aliases of script attributes for backward compatibility 59 # ============================================================================ 67 # ============================================================================
69 # ============================================================================
71 # ----------------------------------------------------------------------------
72 # relative to script file
76 # #! /usr/bin/env bash
77 # get_executable_directory exec_dir
78 # libexec_dir=${exec_dir}/__LIBEXEC_DIR__
81 ## @brief Installation prefix relative to script location. 84 ## @brief Directory of main executables relative to script location. 86 ## @brief Directory of auxiliary executables relative to script location. 88 ## @brief Directory of shared and module libraries relative to script location. 90 ## @brief Directory of static and import libraries relative to script location. 92 ## @brief Directory of auxiliary data files relative to script location. 95 ## @brief Directory of Python modules relative to script location. 97 ## @brief Directory of Jython modules relative to script location. 99 ## @brief Directory of Perl modules relative to script location. 101 ## @brief Directory of MATLAB modules relative to script location. 103 ## @brief Directory of Bash modules relative to script location. 106 # ---------------------------------------------------------------------------- 107 # relative to installation prefix 111 # #! /usr/bin/env bash 112 # get_executable_directory exec_dir 113 # libexec_dir=${exec_dir}/__PREFIX_DIR__/__LIBEXEC_DIR_SUFFIX__ 128 # Note: The following set() commands are needed for the API documentation. 130 ## @brief Directory of main executables relative to installation prefix. 132 ## @brief Directory of auxiliary executables relative to installation prefix. 134 ## @brief Directory of shared and module libraries relative to installation prefix. 136 ## @brief Directory of static and import libraries relative to installation prefix. 138 ## @brief Directory of auxiliary data files relative to installation prefix. 141 ## @brief Directory of Python modules relative to installation prefix. 143 ## @brief Directory of Jython modules relative to installation prefix. 145 ## @brief Directory of Perl modules relative to installation prefix. 147 ## @brief Directory of MATLAB modules relative to installation prefix. 149 ## @brief Directory of Bash modules relative to installation prefix. 154 # end of Doxygen group cmake PERL_LIBRARY_DIR_SUFFIX
Directory of Perl modules relative to installation prefix.
cmake RUNTIME_DIR
Directory of main executables relative to script location.
function basis_set_script_path(out VAR, in PATH, in ARGV3)
Set path relative to script file.
cmake LIBRARY_DIR
Directory of shared and module libraries relative to script location.
cmake ARCHIVE_DIR_SUFFIX
Directory of static and import libraries relative to installation prefix.
cmake __FILE__
Absolute path of script file.
function basis_get_relative_path(out REL, in BASE, in PATH)
Get path relative to a given base directory.
cmake LIBRARY_DIR_SUFFIX
Directory of shared and module libraries relative to installation prefix.
cmake LIBEXEC_DIR
Directory of auxiliary executables relative to script location.
cmake PYTHON_LIBRARY_DIR_SUFFIX
Directory of Python modules relative to installation prefix.
cmake BASH_LIBRARY_DIR
Directory of Bash modules relative to script location.
cmake MATLAB_LIBRARY_DIR
Directory of MATLAB modules relative to script location.
cmake LIBEXEC_DIR_SUFFIX
Directory of auxiliary executables relative to installation prefix.
cmake BASH_LIBRARY_DIR_SUFFIX
Directory of Bash modules relative to installation prefix.
cmake PREFIX_DIR
Installation prefix relative to script location.
cmake RUNTIME_DIR_SUFFIX
Directory of main executables relative to installation prefix.
cmake PYTHON_LIBRARY_DIR
Directory of Python modules relative to script location.
cmake __NAME__
Name of script file.
cmake PERL_LIBRARY_DIR
Directory of Perl modules relative to script location.
cmake JYTHON_LIBRARY_DIR
Directory of Jython modules relative to script location.
cmake DATA_DIR_SUFFIX
Directory of auxiliary data files relative to installation prefix.
cmake DATA_DIR
Directory of auxiliary data files relative to script location.
cmake JYTHON_LIBRARY_DIR_SUFFIX
Directory of Jython modules relative to installation prefix.
cmake ARCHIVE_DIR
Directory of static and import libraries relative to script location.
cmake LANGUAGE
Detected scripting language or UNKNOWN.
cmake MATLAB_LIBRARY_DIR_SUFFIX
Directory of MATLAB modules relative to installation prefix.
cmake __DIR__
Directory of script file.