Re: [CMake] --warn-uninitialized works in only first configuration

2019-02-05 Thread frodak17
; warning. > > -Ursprüngliche Nachricht- > Von: Robert Maynard [mailto:robert.mayn...@kitware.com] > Gesendet: Montag, 4. Februar 2019 18:16 > An: Ramold, Felix > Cc: cmake@cmake.org > Betreff: Re: [CMake] --warn-uninitialized works in only first configuration >

Re: [CMake] --warn-uninitialized works in only first configuration

2019-02-05 Thread Robert Maynard via CMake
ld, Felix > Cc: cmake@cmake.org > Betreff: Re: [CMake] --warn-uninitialized works in only first configuration > > This generally occurs with CACHE variables as for non first runs they > exist in the cache and therefore are initialized. > > On Mon, Feb 4, 2019 at 10:16 AM R

Re: [CMake] --warn-uninitialized works in only first configuration

2019-02-05 Thread Ramold, Felix
list) also shows this warning. -Ursprüngliche Nachricht- Von: Robert Maynard [mailto:robert.mayn...@kitware.com] Gesendet: Montag, 4. Februar 2019 18:16 An: Ramold, Felix Cc: cmake@cmake.org Betreff: Re: [CMake] --warn-uninitialized works in only first configuration This generally occurs

Re: [CMake] --warn-uninitialized works in only first configuration

2019-02-04 Thread Robert Maynard via CMake
This generally occurs with CACHE variables as for non first runs they exist in the cache and therefore are initialized. On Mon, Feb 4, 2019 at 10:16 AM Ramold, Felix wrote: > > Hi, > > > > I configure a project with --warn-uninitialized and get a lot of warnings. I > successfully run the build.

[CMake] --warn-uninitialized works in only first configuration

2019-02-04 Thread Ramold, Felix
Hi, I configure a project with --warn-uninitialized and get a lot of warnings. I successfully run the build. Then I change any CMakeLists.txt file. I run the build again. CMake checks its dependencies and reconfigures before the actual build. Those warnings (or at least those in the edited