<div dir="ltr"><br><div>Re: my previous email. To use the Intel C compilers I just can modify the VS settings. So I have a way forward.</div><div><br></div><div>Regards,</div><div>Tony</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 15, 2017 at 12:25 PM, Petr Kmoch <span dir="ltr"><<a href="mailto:petr.kmoch@gmail.com" target="_blank">petr.kmoch@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>Hi Tony,<br><br></div>generators are for different *buildsystems*: a generator for Makefiles, a generator for Visual Studio solutions, a generator for Ninja files, a generator for Eclipse projects etc.<br><br></div>Intel C and Intel Fortran are compilers, not buildsystems. You should be able to use them with any generator whose buildsystem supports those compilers.<br><br></div>On Windows, CMake supports generation of vfproj files using the Visual Studio generator. I don't know if Intel C has its own Visual Studio project type in the same fashion, and if so, whether CMake supports it.<br><br></div>One of the setups I maintain uses Visual Studio's C++ compiler and Intel Fortran compiler on Windows using the Visual Studio generator, and conceptually, it's as simple as this:<br><br></div>call ...\ifortvars.bat ...<br></div><div>set FC=ifort<br></div>cmake ...<br><br></div>Petr<br><div class="gmail_extra"><br><div class="gmail_quote">On 15 February 2017 at 12:34, Tony Garratt <span dir="ltr"><<a href="mailto:tony.garratt@ansys.com" target="_blank">tony.garratt@ansys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I am having to switch to cmake from autotools for a third party tool I want to build. We use Intel C and Intel Fortran on Windows. I see no mention of an Intel C generator for cmake. I presume this means there is not one? If so, can I create my own Intel C generator please?<div><br></div><div>Rgeards,</div><div>Tony<span class="HOEnZb"><font color="#888888"><span class="m_6813009086544440932HOEnZb"><font color="#888888"><br clear="all"><div><br></div>-- <br><div class="m_6813009086544440932m_-890650857949834751gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><b>Dr Tony Garratt</b></div><br></div></div></div></div></div></font></span></font></span></div></div></blockquote></div><br></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><b>Dr Tony Garratt</b></div><div><span style="font-size:12.8px">Tel: +44 7624 309933</span><br></div></div></div></div></div></div>
</div>