Re: [CMake] Problem with using CMake on Windows with Visual Studio 2017

2018-10-26 Thread Bill Hoffman
Yes, if you could run "set" from the command prompt and post the output here. |C:\Jinja2Cpp\build>set| That might show if you have something odd in your environment.  I am guessing you have LDFLAGS  set which CMake picks up and uses as a linker flag. On 10/26/2018 1:16 PM, Michael Ellery w

Re: [CMake] [HOWTO] Easily Cross-Compile CMake (with xstatic)

2018-10-26 Thread Rolf Eike Beer
Zach van Rijn wrote: > On Fri, 2018-10-26 at 11:09 +0200, Rolf Eike Beer wrote: > > ... > > Hi Eike, > > Thank you for writing. I agree that my approach is a bit brutish > and aim to revise/reduce it to a minimum example. My goal was to > describe a process that is uniform between compilers, easi

Re: [CMake] Problem with using CMake on Windows with Visual Studio 2017

2018-10-26 Thread Michael Ellery
look at the error message specifically:LDFLAGS=-static-libstdc++ -static-libgcc Did you add something to your environment recently? Those look like gcc/clang flags - msvc is not going to like them. Also, have you wiped your CMakeCache completely (clean configure)? I’d have a look at your

Re: [CMake] Problem with using CMake on Windows with Visual Studio 2017

2018-10-26 Thread Frank Tocci
How do I unsubscribe from these emails? -Frank On Fri, Oct 26, 2018 at 9:48 AM Osman Zakir wrote: > Hi again, everyone. > > I'm asking again. If the reason I didn't get a reply last time was > because I didn't ask the right way for "hackers" to give me a satisfactory > answer, please let me k

[CMake] Problem with using CMake on Windows with Visual Studio 2017

2018-10-26 Thread Osman Zakir
Hi again, everyone. I'm asking again. If the reason I didn't get a reply last time was because I didn't ask the right way for "hackers" to give me a satisfactory answer, please let me know. But if it was just because not enough people saw it, then that's all the more reason for me to do this

Re: [CMake] [HOWTO] Easily Cross-Compile CMake (with xstatic)

2018-10-26 Thread Zach van Rijn
On Fri, 2018-10-26 at 11:09 +0200, Rolf Eike Beer wrote: > ... Hi Eike, Thank you for writing. I agree that my approach is a bit brutish and aim to revise/reduce it to a minimum example. My goal was to describe a process that is uniform between compilers, easily automated, and less likely to brea

[CMake] CMAKE_EXPORT_COMPILE_COMMANDS for linker commands?

2018-10-26 Thread Luis Díaz Más
Hi all, I was wondering if there is something similar to CMAKE_EXPORT_COMPILE_COMMANDS but also exporting the linker commands. At this moment it seems like it is only exporting the compiler commands for each translation unit. Best regards, Luis -- Powered by www.kitware.com Please keep message

Re: [CMake] [HOWTO] Easily Cross-Compile CMake (with xstatic)

2018-10-26 Thread Rolf Eike Beer
Am 2018-10-26 10:04, schrieb Zach van Rijn: Hi Friends, I have, until recently, been under the impression that CMake is rather difficult (or impossible?) to cross-compile correctly. I believe I have devised a sane method of doing so. In addition to being simple, the output binaries are fully st

[CMake] [HOWTO] Easily Cross-Compile CMake (with xstatic)

2018-10-26 Thread Zach van Rijn
Hi Friends, I have, until recently, been under the impression that CMake is rather difficult (or impossible?) to cross-compile correctly. I believe I have devised a sane method of doing so. In addition to being simple, the output binaries are fully static, so they may be transferred to any compat