diff options
author | Aleix Pol <aleixpol@kde.org> | 2017-12-12 16:34:39 +0100 |
---|---|---|
committer | Aleix Pol <aleixpol@kde.org> | 2017-12-15 16:39:57 +0100 |
commit | 24134c972e375bebad45c860c413233b60863852 (patch) | |
tree | d0c2d8011c39742704feb8f6ed63dae9b0a33722 /tests/ECMToolchainAndroidTest/CMakeLists.txt | |
parent | d4449ad80a1902dccfb8116c88c321af2be44238 (diff) | |
download | extra-cmake-modules-24134c972e375bebad45c860c413233b60863852.tar.gz extra-cmake-modules-24134c972e375bebad45c860c413233b60863852.tar.bz2 |
Introduce INSTALL_PREFIX_SCRIPT to easily set up prefixes
Summary:
If enabled it will install a prefix.sh script to the root of the prefix.
This file will be useful to be able to easily set up a prefix to be used by
integrating the environment variables it exports.
Test Plan:
```
$ cat prefix.sh
export PATH=/home/apol/devel/kde5/bin:$PATH
export LD_LIBRARY_PATH=/home/apol/devel/kde5/lib64:$LD_LIBRARY_PATH
export XDG_DATA_DIRS=/home/apol/devel/kde5/share:${XDG_DATA_DIRS:-/usr/local/share/:/usr/share/}
export XDG_CONFIG_DIRS=/home/apol/devel/kde5/etc/xdg:${XDG_CONFIG_DIRS:-/etc/xdg}
export QT_PLUGIN_PATH=/home/apol/devel/kde5/lib64/plugins:$QT_PLUGIN_PATH
export QML2_IMPORT_PATH=/home/apol/devel/kde5/lib64/qml:$QML2_IMPORT_PATH
```
Reviewers: #frameworks, sitter
Reviewed By: sitter
Subscribers: kfunk, bcooksley, ngraham, sitter, cgiboudeaux, #build_system
Tags: #frameworks, #build_system
Differential Revision: https://phabricator.kde.org/D9299
Diffstat (limited to 'tests/ECMToolchainAndroidTest/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions