[CMake] No RSP_FILE if generating in a path that contains "@"

2018-06-05 Thread Gerhard Olsson
The following occurs with CMake on Windows, crosscompiling with ARMCC. If the path contains "@", CMake ignores response file in the toolchain file: SET( CMAKE_C_USE_RESPONSE_FILE_FOR_OBJECTS 1 ) The linker command is too long and fails. The command is run in Jenkins, I have not seen a way to a

Re: [CMake] find_library doesn't find .dll on windows

2018-06-05 Thread Bill Hoffman
On 6/1/2018 6:30 PM, Romain LEGUAY wrote: Thank you for your answer. I just want to find the file libmysql.dll because it's needed to be used with Qt (unless I did not understand how to use Qt's MySQL driver). For now, I just do a simple copy of this file in my build folder, but it's not a goo

Re: [CMake] cpp macro

2018-06-05 Thread Bill Hoffman
With the makefile generator you can do make foo.cxx.i.  Sadly this feature never made it into ninja.  If you run make help it shows the targets available.  With VS IDE you can right click on a file and get it to preprocess the file. -Bill -- Powered by www.kitware.com Please keep messages o

[CMake] Intel MPI on Windows under x86_64 MSYS2

2018-06-05 Thread Zaak Beekman
Greetings fellow CMake users, enthusiasts, and developers! We have a user who is installing OpenCoarrays on Windows using Intel MPI under MSYS2. They report having to generate an interface library, impi.a (or impi.lib) by hand using gendef and dlltool for Intel’s impi.dll MPI library. My questions

Re: [CMake] cpp macro

2018-06-05 Thread Stéphane Ancelot
Le 04/06/2018 à 10:16, Eric Noulard a écrit : Le lun. 4 juin 2018 à 09:59, Stéphane Ancelot mailto:sance...@numalliance.com>> 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