Re: [CMake] Link to local glibc

2017-03-07 Thread Chuck Atkins
If you're using a newer Ubuntu environment, I'd suggest using a CentOS 5 docker container. Either that or the VM. - Chuck On Tue, Mar 7, 2017 at 1:53 PM, Marcel Loose wrote: > Hi Michele, > > This could become a painful exercise. You basically have two options: > 1) Treat it

[CMake] libsndfile in windows

2017-03-07 Thread aishwarya selvaraj
​Hi all , I'm trying to compile a .cpp code of mine using cmake file in all the three platforms. I have successfully completed it in Linux software . when I started to do it in windows I read across multiple documents which mention that ​libsnd file cannot be built on windows using visual studio ,

[CMake] CPack WIX - disable feature by default

2017-03-07 Thread tonka tonka
Hello, I’ve create an installer with cpack and WIX (cpack –G WIX). Everything works fine, but I have one big problem. I have 2 features, which are created by cpack(wix). My Problem: I want to deactivate the CM_C_dev feature by default (CPACK_WIX seems

[CMake] CMAKE_CXX_STANDARD_REQUIRED not working in helloworld

2017-03-07 Thread Winfried
I am trying to let cmake exit with an error when the c++ compiler doesn't support at least the C++14 standard. According to the cmake documentation this should be possible with variables CMAKE_CXX_STANDARD and CMAKE_CXX_STANDARD_REQUIRED. However when I compile the simple helloworld example

Re: [CMake] CMAKE_CXX_STANDARD_REQUIRED not working in helloworld

2017-03-07 Thread Robert Maynard
The issue is that GCC 4.8 c++1y does offer support for some c++14 features ( https://gcc.gnu.org/projects/cxx-status.html#cxx14 ) and therefore that is why you getting a compile time failure. You could try using target_compile_features instead but it only verifies language level features and is

[CMake] Problem with VS2017 and CMakeGNUtoMS_lib.bat.in (cmake-3.8-rc2)

2017-03-07 Thread Thompson, KT
Hi, I use the CMakeAddFortranSubdirectory feature in one of my projects. This appears to be broken under Visual Studio 2017 Community Edition RC because CMake\share\cmake-3.8\Modules\Platform\GNUtoMS_lib.bat.in generates a batch file that contains: call "C:\Program Files (x86)\Microsoft

Re: [CMake] CMAKE_CXX_STANDARD_REQUIRED not working in helloworld

2017-03-07 Thread Winfried
Robert Maynard schreef op 07.03.2017 16:34: The issue is that GCC 4.8 c++1y does offer support for some c++14 features ( https://gcc.gnu.org/projects/cxx-status.html#cxx14 ) and therefore that is why you getting a compile time failure. You could try using target_compile_features instead but it

[CMake] Link to local glibc

2017-03-07 Thread Michele Portolan
Hello, I build on a Ubuntu machine (kernel 4.4.0-64-generic), but I need my program to be executed on an old Cento 5.8 (kernel 2.6.18). I tried compiling with "-static" to have static linking, but when I try to execute I get "ERROR: Kernel too old!" I therefore locally compiled a glibc with

Re: [CMake] Link to local glibc

2017-03-07 Thread Michele Portolan
I'll try and see if I can compile a gcc 4.9.3 chain on the CentOS 5 machine (I need C++11). The docker container looks interesting but I haven't used it yet: does it need some specific install on the target machine? I don't have any install rights on the Cento 5.11 machine Thanks,

Re: [CMake] Link to local glibc

2017-03-07 Thread Marcel Loose
Hi Michele, This could become a painful exercise. You basically have two options: 1) Treat it as a cross-compilation project, or 2) Create a virtual machine running CentOS 5.8 and do the build there. If I were you, I would go for the second option. Cheers, Marcel. Op 07-03-17 om 17:56 schreef

[Cmake-commits] CMake branch, next, updated. v3.8.0-rc2-406-ge66966f

2017-03-07 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, next has been updated discards d0791d846e7e09fec819acb3660803cd286efa9e (commit) discards

[Cmake-commits] CMake branch, next, updated. v3.8.0-rc2-410-gf8b3d13

2017-03-07 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, next has been updated via f8b3d1328b4e3c58c3958354dd15f74f1e138f07 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.8.0-rc2-389-gff178a4

2017-03-07 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, next has been updated discards 65a8510350df79126a75e47b2802f3e4abbcf1a7 (commit) discards

[Cmake-commits] CMake branch, master, updated. v3.8.0-rc2-387-ge66eec1

2017-03-07 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 e66eec143c86cb36bc468b78583f689840156d99 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.8.0-rc2-393-gdca58fa

2017-03-07 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 dca58fa27995e5579b8ff52efbc0a20d00f9918d (commit) via

[Cmake-commits] CMake branch, next, updated. v3.8.0-rc2-393-gdca58fa

2017-03-07 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, next has been updated discards ff178a4937d09a5b0dc8b869abdc0b8d3a07fd57 (commit) via

[Cmake-commits] CMake branch, dashboard, updated. 11006a894ef27738942c08abc300f15906c0e5c9

2017-03-07 Thread Brad King
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, dashboard has been updated via 11006a894ef27738942c08abc300f15906c0e5c9 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.8.0-rc2-397-gad772c2

2017-03-07 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, next has been updated via ad772c20e46456021e257b87b9c405b026f0f3a4 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.8.0-rc2-399-gfc4565f

2017-03-07 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, next has been updated via fc4565fcf2b7c5537c78a3f521ccff04a86fa464 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.8.0-rc2-406-ga2fbb87

2017-03-07 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, next has been updated via a2fbb872bbdf459b40c2c026077714d4aeeb33b5 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.8.0-rc2-408-gf986793

2017-03-07 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, next has been updated via f9867934158a7f067202d89dd683b1e8ed1010f3 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.8.0-rc2-402-gb51484f

2017-03-07 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, next has been updated discards fc4565fcf2b7c5537c78a3f521ccff04a86fa464 (commit) discards

[Cmake-commits] CMake branch, master, updated. v3.8.0-rc2-396-g52d3926

2017-03-07 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 52d39264b49c18f6f1e98a2348e69cd679e389bc (commit) via

[Cmake-commits] CMake branch, nightly-master, updated. v3.8.0-rc2-396-g52d3926

2017-03-07 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, nightly-master has been updated via 52d39264b49c18f6f1e98a2348e69cd679e389bc (commit) via

[Cmake-commits] CMake branch, nightly, updated. v3.8.0-rc2-410-gf8b3d13

2017-03-07 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, nightly has been updated discards f7085d1fb3f0f477a9a2858d016d3164997e518c (commit) discards

[Cmake-commits] CMake branch, next, updated. v3.8.0-rc2-411-g4249d9d

2017-03-07 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, next has been updated discards f8b3d1328b4e3c58c3958354dd15f74f1e138f07 (commit) discards

[Cmake-commits] CMake branch, master, updated. v3.8.0-rc2-397-gc87be0c

2017-03-07 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 c87be0c0358c4cad12cdcdea719e2f583f788bc8 (commit) from

[Cmake-commits] CMake branch, next, updated. v3.8.0-rc2-410-gd0791d8

2017-03-07 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, next has been updated via d0791d846e7e09fec819acb3660803cd286efa9e (commit) via