Project

General

Profile

Bug #421

CMake ignores a custom compiler setting on Windows

Added by Rossen Apostolov over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
mdrun
Target version:
Affected version - extra info:
Affected version:
Difficulty:
uncategorized
Close

Description

Even if a custom compiler is given under Windows, CMake ignores the setting and generates project files with the default one.

History

#1 Updated by Sander Pronk over 9 years ago

This appears to be a general cmake issue; starting with a very simple (non-gromacs) CMakeLists.txt, the MSVC project always uses the Microsoft compiler regardless of the setting used while generating the project in cmake.

#2 Updated by Erik Lindahl over 9 years ago

Unfortunately I think you always have to push the "switch to intel compiler button" in MSVC, even when you told cmake to generate makefiles for icc. It could be an MSVC bug...

#3 Updated by Sander Pronk over 9 years ago

OK - in that case I'm reclassifying it: it's not something we can fix.

Also available in: Atom PDF