MantisBT - CMake
View Issue Details
0009948CMakeCMakepublic2009-11-21 19:052016-06-10 14:31
Alex Neundorf 
Alex Neundorf 
normalminoralways
closedmoved 
CMake-2-8 
CMake 2.8.12 
0009948: put env.var INTEL_LICENSE_FILE into eclipse/kdevelop/codeblocks projects when the Intel compiler is used
The Intel compiler uses the INTEL_LICENSE_FILE environment variable to find its license.
So when cmake runs initially, this env.var must be set correctly.
CMake should then see that it is using the Intel compiler, and if the env.var INTEL_LICENSE_FILE is set, it could read the value and put this as env.var to set before building into the KDevelop/Eclipse project files.
This way later on the generated KDevelop/Eclipse projects just work, and don't have to be started from a terminal where the env.var has already been set up.

Alex
No tags attached.
Issue History
2009-11-21 19:05Alex NeundorfNew Issue
2009-11-21 19:05Alex NeundorfStatusnew => assigned
2009-11-21 19:05Alex NeundorfAssigned To => Alex Neundorf
2009-11-21 22:29Bill HoffmanNote Added: 0018511
2009-11-22 05:04Alex NeundorfNote Added: 0018512
2010-05-12 16:42Alex NeundorfNote Added: 0020729
2012-08-13 14:39Alex NeundorfTarget Version => CMake 2.8.10
2012-10-18 14:03Alex NeundorfTarget VersionCMake 2.8.10 => CMake 2.8.11
2013-05-17 09:33Robert MaynardTarget VersionCMake 2.8.11 => CMake 2.8.12
2016-06-10 14:27Kitware RobotNote Added: 0041624
2016-06-10 14:27Kitware RobotStatusassigned => resolved
2016-06-10 14:27Kitware RobotResolutionopen => moved
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0018511)
Bill Hoffman   
2009-11-21 22:29   
I am not sure this is a good idea. What if the license file changes? We don't store other compiler specific environment variables found at cmake time for build time?
(0018512)
Alex Neundorf   
2009-11-22 05:04   
I just checked, something similar is already done for the MS cl compiler vars (vsvars32.bat) in the Eclipse project generator.

And this will really make the Eclipse projects much more convenient to use, i.e. Eclipse can then be just started from the start menu and the project will work.

Alex
(0020729)
Alex Neundorf   
2010-05-12 16:42   
Done for Eclipse since 2.8.1.
C::B and KDevelop still todo.

Alex
(0041624)
Kitware Robot   
2016-06-10 14:27   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.