Re: [cmake-developers] CMP0071

2017-10-05 Thread Sebastian Holtermann
> I find myself setting SKIP_AUTOUIC on *.h and *.cpp files to silence > CMP0071 warnings. It's an unfortunate situation. In many cases (qt < 5.10) it might work to just let AUTOUIC probe the (moc/uic/rcc) GENERATED files as well by setting `cmake_policy(SET CMP0071 NEW)` -- Powered by

Re: [cmake-developers] CMP0071

2017-10-05 Thread Sebastian Holtermann
On Mittwoch, 4. Oktober 2017 20:01:50 CEST clin...@elemtech.com wrote: > - On Sep 26, 2017, at 9:07 AM, Sebastian Holtermann sebl...@xwmw.org wrote: > >> I updated and I'm getting this: > >> > >> CMake Warning (dev) in claro/navigation5/CMakeLists.txt: > >> Policy CMP0071 is not set: Let

Re: [cmake-developers] CMP0071

2017-10-04 Thread clinton
- On Sep 26, 2017, at 9:07 AM, Sebastian Holtermann sebl...@xwmw.org wrote: >> I updated and I'm getting this: >> >> CMake Warning (dev) in claro/navigation5/CMakeLists.txt: >> Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files. >> Run "cmake --help-policy CMP0071"

Re: [cmake-developers] CMP0071

2017-10-02 Thread Sebastian Holtermann
On Montag, 2. Oktober 2017 06:58:31 CEST Brad King wrote: > On 09/26/2017 12:55 PM, clin...@elemtech.com wrote: > > https://bugreports.qt.io/browse/QTBUG-63442 > > Please take a look at the proposed fix: > > https://codereview.qt-project.org/#/c/207327/ I dropped a few comments. -Sebastian

Re: [cmake-developers] CMP0071

2017-10-02 Thread Brad King
On 09/26/2017 12:55 PM, clin...@elemtech.com wrote: > https://bugreports.qt.io/browse/QTBUG-63442 Please take a look at the proposed fix: https://codereview.qt-project.org/#/c/207327/ Thanks, -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at:

Re: [cmake-developers] CMP0071

2017-09-27 Thread Sebastian Holtermann
On Dienstag, 26. September 2017 11:49:18 CEST Brad King wrote: > On 09/26/2017 11:15 AM, Sebastian Holtermann wrote: > > "cmake --help-policy CMP0071" already mentions SKIP_AUTOMOC. > > Should the warning mention SKIP_AUTOMOC as well? > > Yes, please. It removes an indirection. The merge

Re: [cmake-developers] CMP0071

2017-09-26 Thread clinton
- On Sep 26, 2017, at 9:31 AM, Sebastian Holtermann sebl...@xwmw.org wrote: > On Dienstag, 26. September 2017 09:25:36 CEST clin...@elemtech.com wrote: >> - On Sep 26, 2017, at 9:07 AM, Sebastian Holtermann sebl...@xwmw.org > wrote: >> >> I updated and I'm getting this: >> >> >> >> CMake

Re: [cmake-developers] CMP0071

2017-09-26 Thread Sebastian Holtermann
On Dienstag, 26. September 2017 11:49:18 CEST Brad King wrote: > On 09/26/2017 11:15 AM, Sebastian Holtermann wrote: > > "cmake --help-policy CMP0071" already mentions SKIP_AUTOMOC. > > Should the warning mention SKIP_AUTOMOC as well? > > Yes, please. It removes an indirection. Okay, I got the

Re: [cmake-developers] CMP0071

2017-09-26 Thread Brad King
On 09/26/2017 11:15 AM, Sebastian Holtermann wrote: > "cmake --help-policy CMP0071" already mentions SKIP_AUTOMOC. > Should the warning mention SKIP_AUTOMOC as well? Yes, please. It removes an indirection. Thanks, -Brad -- Powered by www.kitware.com Please keep messages on-topic and check

Re: [cmake-developers] CMP0071

2017-09-26 Thread Sebastian Holtermann
On Dienstag, 26. September 2017 09:25:36 CEST clin...@elemtech.com wrote: > - On Sep 26, 2017, at 9:07 AM, Sebastian Holtermann sebl...@xwmw.org wrote: > >> I updated and I'm getting this: > >> > >> CMake Warning (dev) in claro/navigation5/CMakeLists.txt: > >> Policy CMP0071 is not set: Let

Re: [cmake-developers] CMP0071

2017-09-26 Thread clinton
- On Sep 26, 2017, at 9:07 AM, Sebastian Holtermann sebl...@xwmw.org wrote: >> I updated and I'm getting this: >> >> CMake Warning (dev) in claro/navigation5/CMakeLists.txt: >> Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files. >> Run "cmake --help-policy CMP0071"

Re: [cmake-developers] CMP0071

2017-09-26 Thread Sebastian Holtermann
On Dienstag, 26. September 2017 11:04:30 CEST Brad King wrote: > On 09/26/2017 09:32 AM, clin...@elemtech.com wrote: > > CMake Warning (dev) in claro/navigation5/CMakeLists.txt: > > Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED > > files. Run "cmake --help-policy CMP0071"

Re: [cmake-developers] CMP0071

2017-09-26 Thread Brad King
On 09/26/2017 11:07 AM, Sebastian Holtermann wrote: >> AUTOMOC: Ignoring GENERATED header file(s): >> >> "/path/to/ui_SomeFile.h" >> "/path/to/qrc_AnotherFile.cpp" > > You can set the source file property SKIP_AUTOMOC on the GENERATED files. Sebastian, please revise the policy warning to mention

Re: [cmake-developers] CMP0071

2017-09-26 Thread Sebastian Holtermann
> I updated and I'm getting this: > > CMake Warning (dev) in claro/navigation5/CMakeLists.txt: > Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files. > Run "cmake --help-policy CMP0071" for policy details. Use the cmake_policy > command to set the policy and suppress this

Re: [cmake-developers] CMP0071

2017-09-26 Thread Brad King
On 09/26/2017 09:32 AM, clin...@elemtech.com wrote: > CMake Warning (dev) in claro/navigation5/CMakeLists.txt: >   Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files. >   Run "cmake --help-policy CMP0071" for policy details.  Use the cmake_policy >   command to set the

[cmake-developers] CMP0071

2017-09-26 Thread clinton
I updated and I'm getting this: CMake Warning (dev) in claro/navigation5/CMakeLists.txt: Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files. Run "cmake --help-policy CMP0071" for policy details. Use the cmake_policy command to set the policy and suppress this warning.