Variables
BasisScriptConfig.cmake File Reference

BASIS script configuration. More...

Go to the source code of this file.

Variables

cmake __DIR__
 Directory of script file. More...
 
cmake __FILE__
 Absolute path of script file. More...
 
cmake __NAME__
 Name of script file. More...
 
cmake ARCHIVE_DIR
 Directory of static and import libraries relative to script location. More...
 
cmake ARCHIVE_DIR_SUFFIX
 Directory of static and import libraries relative to installation prefix. More...
 
cmake BASH_LIBRARY_DIR
 Directory of Bash modules relative to script location. More...
 
cmake BASH_LIBRARY_DIR_SUFFIX
 Directory of Bash modules relative to installation prefix. More...
 
cmake DATA_DIR
 Directory of auxiliary data files relative to script location. More...
 
cmake DATA_DIR_SUFFIX
 Directory of auxiliary data files relative to installation prefix. More...
 
cmake DIR
 
cmake FILE
 
cmake JYTHON_LIBRARY_DIR
 Directory of Jython modules relative to script location. More...
 
cmake JYTHON_LIBRARY_DIR_SUFFIX
 Directory of Jython modules relative to installation prefix. More...
 
cmake LANGUAGE
 Detected scripting language or UNKNOWN. More...
 
cmake LIBEXEC_DIR
 Directory of auxiliary executables relative to script location. More...
 
cmake LIBEXEC_DIR_SUFFIX
 Directory of auxiliary executables relative to installation prefix. More...
 
cmake LIBRARY_DIR
 Directory of shared and module libraries relative to script location. More...
 
cmake LIBRARY_DIR_SUFFIX
 Directory of shared and module libraries relative to installation prefix. More...
 
cmake MATLAB_LIBRARY_DIR
 Directory of MATLAB modules relative to script location. More...
 
cmake MATLAB_LIBRARY_DIR_SUFFIX
 Directory of MATLAB modules relative to installation prefix. More...
 
cmake NAME
 
cmake NAME_L
 
cmake NAME_U
 
cmake PERL_LIBRARY_DIR
 Directory of Perl modules relative to script location. More...
 
cmake PERL_LIBRARY_DIR_SUFFIX
 Directory of Perl modules relative to installation prefix. More...
 
cmake PREFIX_DIR
 Installation prefix relative to script location. More...
 
cmake PYTHON_LIBRARY_DIR
 Directory of Python modules relative to script location. More...
 
cmake PYTHON_LIBRARY_DIR_SUFFIX
 Directory of Python modules relative to installation prefix. More...
 
cmake RUNTIME_DIR
 Directory of main executables relative to script location. More...
 
cmake RUNTIME_DIR_SUFFIX
 Directory of main executables relative to installation prefix. More...
 

Detailed Description

BASIS script configuration.

Note
The file BasisScriptConfig.cmake is automatically generated by BASIS from the template file ScriptConfig.cmake.in which is part of BASIS.

This script configuration file is included before the default script configuration file which is part of the package itself (ScriptConfig.cmake), if such file exists in the PROJECT_CONFIG_DIR. Therefore, the BASIS script configuration can be overwritten by the default script configuration of the project, which in turn can be overwritten specifically for each script target by specifying a script target-specific script configuration using the CONFIG and/or CONFIG_FILE option of the basis_add_executable() or basis_add_library() command, respectively.

See also
https://cmake-basis.github.io/standard/scripttargets.html#script-configuration

Definition in file BasisScriptConfig.cmake.