Re: [CMake] -DCMAKE_BUILD_TYPE=Release breaks build process

2017-03-03 Thread Alan W. Irwin
On 2017-03-03 16:14+0100 Bernhard Seckinger wrote: My advice for putting together that bug report is to create the simplest standalone example of the problem that is possible (e.g., consiting of a CMakeLists.txt file that builds and installs a "hello, world" D application + D language source cod

Re: [CMake] Error from GenerateExportHeader.cmake (configure_file)

2017-03-03 Thread Michael Ellery
> On Mar 3, 2017, at 9:23 AM, Miroslav Drahos wrote: > > Hi, > I am getting errors emanating from GenerateExportHeader.cmake and hope > someone has any pointers on this. The error: > > CMake Error at /usr/share/cmake-3.5/Modules/GenerateExportHeader.cmake:362 > (configure_file): >   configure

[CMake] Error from GenerateExportHeader.cmake (configure_file)

2017-03-03 Thread Miroslav Drahos
Hi, I am getting errors emanating from GenerateExportHeader.cmake and hope someone has any pointers on this. The error: CMake Error at /usr/share/cmake-3.5/Modules/GenerateExportHeader.cmake:362 (configure_file):   configure_file Problem configuring file Call Stack (most recent call first):  

[CMake] [ANNOUNCE] CMake 3.8.0-rc2 now ready for testing!

2017-03-03 Thread Robert Maynard
I am proud to announce the second CMake 3.8 release candidate. https://cmake.org/download/ Documentation is available at: https://cmake.org/cmake/help/v3.8 Release notes appear below and are also published at https://cmake.org/cmake/help/v3.8/release/3.8.html Some of the more significant c

Re: [CMake] -DCMAKE_BUILD_TYPE=Release breaks build process

2017-03-03 Thread Bernhard Seckinger
> My advice for putting together that bug report is to create the > simplest standalone example of the problem that is possible (e.g., > consiting of a CMakeLists.txt file that builds and installs a "hello, > world" D application + D language source code for that application. After one mornings wo

Re: [CMake] Windows mapped network drive and 'if EXISTS'

2017-03-03 Thread Louis-Paul CORDIER
Hi again, Problem solved by rebooting Windows and the samba share. Thank you anyway! Le 03/03/2017 à 15:43, Louis-Paul CORDIER a écrit : Does not solve the issue here... I'm using the latest cmake release 3.7.2 Your Z is a mapped network drive, am I right? This behaviour is causing find_pack

Re: [CMake] Windows mapped network drive and 'if EXISTS'

2017-03-03 Thread Louis-Paul CORDIER
Does not solve the issue here... I'm using the latest cmake release 3.7.2 Your Z is a mapped network drive, am I right? This behaviour is causing find_package to fail as well. Le 03/03/2017 à 15:23, Nils Gladitz a écrit : On 03/03/2017 02:28 PM, Louis-Paul CORDIER wrote: When I try to do a

Re: [CMake] Windows mapped network drive and 'if EXISTS'

2017-03-03 Thread Nils Gladitz
On 03/03/2017 02:28 PM, Louis-Paul CORDIER wrote: When I try to do a if(EXISTS "Z:\"), it never jump into the if statement. Try if(EXISTS "Z:\\") or if(EXISTS "Z:/"). Either works for me. if(EXISTS "Z:\") looks like it should have been a syntax error since the backslash starts an escape seq

[CMake] Windows mapped network drive and 'if EXISTS'

2017-03-03 Thread Louis-Paul CORDIER
Hi, I'm trying to use the cmake 'if' statement with the EXISTS parameter, used for checking folder/file existence. In my project, I have a library stored on a network samba folder. On my Windows dev platform, I mapped a network drive (Windows 7 -> Computer -> Map network drive) on this share