Re: [CMake] use analyze with visual studio

2018-04-11 Thread Petr Kmoch
Hi, I've never used the CL feature, but as far as CMake syntax is concerned, I believe you're looking for this: target_compile_options(const PRIVATE /analyze /analyze:plugin EspXEngine.dll) Petr On 11 April 2018 at 00:23, Tiago Macarios wrote: > I am trying to pass the analyze flags to cl.exe

[CMake] Custom platform with MSVC

2018-04-11 Thread Ales Borovicka
Hi, I am having issues after upgrading cmake to 3.10.2. We have a custom platform that does require to set properties in vcxproj like: $(PLATFORM_SDK_ROOT) For regular projects we set this through user files, so it works for the generated projects. (it worked with cmake 3.7.0) Now in the new cma

[CMake] Dependencies scanning for non-c/c++ files

2018-04-11 Thread Somux
Hi, I ran into a CMake problem and I found a very informative answer at https://cmake.org/pipermail/cmake/2011-April/043758.html. Still, 7 years has passed. Is any easier solution for dependency scanning for an proprietary language? BR, SoMux -- Powered by www.kitware.com Please keep messag

Re: [CMake] Custom platform with MSVC

2018-04-11 Thread Brad King
On 04/11/2018 09:24 AM, Ales Borovicka wrote: > We have a custom platform that does require to set properties in vcxproj like: > $(PLATFORM_SDK_ROOT) > > For regular projects we set this through user files, so it works for the > generated projects. (it worked with cmake 3.7.0) We don't currently

[CMake] CMake 3.11 Fortran submodule parallel compilation fails for a single target

2018-04-11 Thread Zaak Beekman
I thought that CMake had Fortran submodule support as of 3.8 or 3.10. However, when compiling a single library target with submodules in parallel on macOS with GFortran trunk (or GFortran 7.3) I get: f951: Fatal Error: Module file 'mylib.smod' has not been generated, either because the module