[Cmake-commits] CMake branch, master, updated. v3.11.3-901-g0fa6f8b

2018-06-04 Thread Kitware Robot
t a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index 5840233..8946d67 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -1,5 +1,5 @@ # CMake version number components. set(CMake_VERSION_MAJOR 3) set(CMake_VERSION_MINOR 11) -set(CMake_VERSION_PATCH 20180604) +set(CMake_VER

[cmake-developers] Retrieving OS Version in CMake

2018-06-04 Thread Harry Mallon
Hello all, We have some CMake code that sanity checks the build and checks for our supported operating systems. Would there be a use case for a Module that could retrieve OS name and version (e.g. on macOS parse “sw_vers” to get “Mac OS X” and “10.13.4”, on Linux parse /etc/os-release to get

[Cmake-commits] CMake branch, master, updated. v3.11.3-900-g07bddea

2018-06-04 Thread Kitware Robot
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake". The branch, master has been updated via 07bddeae14001328209f5d1fb988107a6db508cb (commit) via

Re: [CMake] cpp macro

2018-06-04 Thread Petr Kmoch
On 4 June 2018 at 10:16, Eric Noulard wrote: > > > In both cases I don't know how to discover that in a cross-platform way. > Probably MSVC has another option for pre-processsing. > The basic option is /P, with related options /EP and /C which control line numbering, comment suppression etc.

Re: [CMake] cpp macro

2018-06-04 Thread Eric Noulard
Le lun. 4 juin 2018 à 09:59, Stéphane Ancelot a écrit : > hi > > is there a mactro for cpp ? > You mean a CMake variable which would contain the path to C preprocessor binary? I don't think so, at list no xxx__xxx variable seems to exists for that. Did you check "cmake --help-variable-list" ?

[CMake] cpp macro

2018-06-04 Thread Stéphane Ancelot
hi is there a mactro for cpp ? Regards, S.Ancelot -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please