https://github.com/Kitware/CMake
Revision ff386d1121ec52854d522d3bb9c86fab286d58ef authored by Brad King on 03 August 2016, 15:12:01 UTC, committed by Brad King on 03 August 2016, 15:14:29 UTC
Find modules only detect Debug and Release configurations.  All other
configurations will fall back to the configuration listed as the first
entry in `IMPORTED_CONFIGURATIONS`.  Switch the order so that `Release`
is listed first, as this is a better fallback than `Debug` for the
`RelWithDebInfo` and `MinSizeRel` configurations.  See issue #16091.

This approach is recommended by documentation in `cmake-developer(7)`
added by commit v3.2.0-rc1~286^2~1 (Help: Document IMPORTED_CONFIGURATIONS
target property for Find modules, 2014-12-04).
1 parent 382c4fc
Raw File
Tip revision: ff386d1121ec52854d522d3bb9c86fab286d58ef authored by Brad King on 03 August 2016, 15:12:01 UTC
Modules: Make imported targets fall back to `Release`
Tip revision: ff386d1
SetupForDevelopment.sh
#!/usr/bin/env bash

cd "${BASH_SOURCE%/*}/.." &&
Utilities/GitSetup/setup-user && echo &&
Utilities/GitSetup/setup-hooks && echo &&
Utilities/GitSetup/setup-stage && echo &&
(Utilities/GitSetup/setup-ssh ||
 echo 'Failed to setup SSH.  Run this again to retry.') && echo &&
Utilities/GitSetup/tips

# Rebase master by default
git config rebase.stat true
git config branch.master.rebase true
back to top