Notes |
|
(0033840)
|
Eric NOULARD
|
2013-09-18 07:14
|
|
CMAKE_ECLIPSE_VERSION is set (in CACHE) by Modules/CMakeFindEclipseCDT4.cmake
which is automatically included by
Modules/CMakeSystemSpecificInformation.cmake
which gets included in Source/cmGlobalGenerator.cxx.
So I don't know whether if it's meant to be overidden by the user.
Alex (Neundorf) should know that.
Could you explain and/or give an example of waht you want to do? |
|
|
(0033841)
|
ycollet
|
2013-09-18 07:26
|
|
Sorry, now it works when I use -DCMAKE_ECLIPSE_VERSION=3.7.
The first time I tried, when I open cmakecache.txt using cmake-gui, CMAKE_ECLIPSE_VERSION was still set to 3.6.
You can close the bug. If I am able to reproduce it, I will reopen. |
|
|
(0033844)
|
ycollet
|
2013-09-18 09:46
|
|
Hello,
Finally, I reproduced the problem. Here is my cmake command:
cmake -DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=TRUE -DCMAKE_ECLIPSE_VERSION=3.7 -G "Eclipse CDT4 - Unix Makefiles" .
And here is the message I've got:
-- Could not determine Eclipse version, assuming at least 3.6 (Helios). Adjust CMAKE_ECLIPSE_VERSION if this is wrong.
-- Found Git: /usr/bin/git (found version "1.7.10.4")
-- Found Java: /opt/jdk1.6.0_45/bin/java (found version "1.6.0.45")
-- ...
But when I use cmake-gui to look at CMakeCache.txt, the CMAKE_ECLIPSE_VERSION is set to 3.7 (and not to 3.6 like the "warning" message says). |
|
|
(0033846)
|
Alex Neundorf
|
2013-09-18 16:46
|
|
Ok, I'll fix the case that the variable has already been set. |
|
|
(0033847)
|
Alex Neundorf
|
2013-09-18 19:21
|
|
Fixed and merged into next.
I don't know whether this will still make it into 2.8.12, otherwise it will be 2.8.13 then. |
|