[CMake] clang-format

2016-11-07 Thread Tiago Macarios
Hi, CMake has "built-in" support for clang_tidy and include-what-you-use. I was wondering why there is not support for clang_format. No one ever contributed, or people think this should not be part of CMake? Tiago -- Powered by www.kitware.com Please keep messages on-topic and check the CMake

Re: [CMake] Pointing CMAKE_AUTOMOC to a custom version of Qt and its moc.exe

2016-11-07 Thread Saad Khattak
I did try that, unfortunately the Qt distribution that comes with Maya does not have the find_package CMake modules for it's version of Qt. They didn't exactly follow the folder structure of the official Qt release and they don't have any of the CMake modules. On Mon, Nov 7, 2016 at 10:54 AM Konst

Re: [CMake] Pointing CMAKE_AUTOMOC to a custom version of Qt and its moc.exe

2016-11-07 Thread Konstantin Tokarev
07.11.2016, 18:49, "Saad Khattak" : > I am working on a plugin for Maya and it uses a customized version of Qt. > Maya's SDK comes with everything to build Qt (headers, libraries and > customized Qt tools such as moc.exe). > > I have the following issues: > > (1) With CMAKE_AUTOMOC set to ON, I

[CMake] Pointing CMAKE_AUTOMOC to a custom version of Qt and its moc.exe

2016-11-07 Thread Saad Khattak
I am working on a plugin for Maya and it uses a customized version of Qt. Maya's SDK comes with everything to build Qt (headers, libraries and customized Qt tools such as moc.exe). I have the following issues: (1) With CMAKE_AUTOMOC set to ON, I am unable to figure out how to point CMake to pick

[CMake] Force MSVC runtime for debug builds

2016-11-07 Thread Stephan Menzel
Hello everyone, I'm looking for a way to force Debug configurations in generated MSVC solutions to use the Release runtime instead of the default "Debug". e.g. /MD rather than /MDd. My use case is an ever recurring problem of creating libraries that are linked in plug-in fashion against Release o