08-23-2010 03:38 AM
Hi, I'm developing VC6 (no choice), and have just moved to compiling the source code using the intel 10.1.30 compiler. I have this working, and my project is commited to SVN.
However, when I do a fresh checkout, I find that my project compiles using the microsoft compiler again. Any changes I make to compiler args through visual studio are kept, but using process explorer shows that ICL is no longer being used. Opening the dsw in vc6, and changing to intel compilation again fixes it, but I am working on a continuous integration solution, and need to know what stores the intel compiler option.
Any help is greatly appreciated.
08-24-2010 03:53 AM
To use the intel compiler, your microsoft project file is converted to use Intel C++ compiler. In 11.1 and older a .icproj is created. you need to checkin this file also in svn and checkout when you want it back.
08-27-2010 01:35 AM
Ok starting again as I've not been clear enough:
-I have a vc6 project 'MyProject', originally compiled with the Microsoft compiler, using dsw and dsp files.
-I installed the Intel 10.1 compiler, configured the project, and 'MyProject' now compiles with the Intel compiler.
-My project is checked into SVN
-When I do a clean checkout, the project reverts to using the Microsoft compiler
What files specify the selection ofIntelorMicrosoftcompiler in a VC6 environment?
Why do I ask:
I want to be able to do a clean checkout and build without opening visual studio and selecting theIntelcompiler.
08-27-2010 02:34 PM
The integration into Microsoft Visual C++ 6.0* didn't code the compiler selection into files. It uses Windows registry keys to store the selection information. I'm kind of surprised that it doesn't maintain that selection for you as long as you are logged into the same account. It should persist across projects and even instances of Visual Studio*. That being said, there is a way to hardcode the selection into your project. Add the /D macro _USE_INTEL_COMPILER to your project settings. That will force the Intel compiler to be selected.