Re: [CMake] Fwd: CMAKE_HOST_SYSTEM_NAME is empty

2019-04-28 Thread Orban, Laszlo
Hi Gregor, I Installed cmake version 3.12.2 and I can confirm that it works, CMAKE_HOST_SYSTEM_NAME is available before the project() call Thank you very much for your assistance! Laszlo On Sun, Apr 28, 2019 at 9:54 PM Gregor Jasny wrote: > Hello, > > On 25.04.19 09:29, Orban, Laszlo wrote: >

Re: [CMake] How does IMPLICIT_DEPENDS work?

2019-04-28 Thread Paul Smith
On Sat, 2019-04-27 at 13:49 -0400, Paul Smith wrote: > On Fri, 2019-04-26 at 17:26 -0400, Paul Smith wrote: > > We're trying to implement precompiled headers (yes, I've seen all the > > various github projects around this). As part of this we need to make > > sure the precompiled header is rebuilt

Re: [CMake] Fwd: CMAKE_HOST_SYSTEM_NAME is empty

2019-04-28 Thread Gregor Jasny via CMake
Hello, On 25.04.19 09:29, Orban, Laszlo wrote: Please help me an issue I'm facing with CMAKE_HOST_SYSTEM_NAME on FreeBSD 10.3. It gives back empty string, if I read it before the 'project(...)'. As far as I understood, CMAKE_SYSTEM_NAME can be used only after the 'project(...)' call, but CMAKE

Re: [CMake] Can't Generate Project Files for VS2019

2019-04-28 Thread Jano Svitok
Hi, Use 'x64' as platform. Jano On Sun, Apr 28, 2019, 13:36 Osman Zakir wrote: > I just tried to build Step 1 of the CMake tutorial that comes with the > source code (CMake version 3.14.3), once with VS2019 as the generator and > then again with VS2017 as the generator. The latter worked fine

Re: [CMake] Can't Generate Project Files for VS2019

2019-04-28 Thread Osman Zakir
I just tried to build Step 1 of the CMake tutorial that comes with the source code (CMake version 3.14.3), once with VS2019 as the generator and then again with VS2017 as the generator. The latter worked fine but the former didn't. I got the same error as mentioned in the initial message: " c