AW: [CMake] Overriding default values

Sören Freudiger muffmolch at gmx.de
Fri Sep 2 06:17:35 EDT 2005


maybe there's a missunderstanding.
no, it doesn't work like this if you are changing the cahce variable. and
this is correct, becaused they are cached. so if I'm using CMakeSetup.exe
Ver 2.3 you can see that after three times using your macro I'll get
following CXX_Flags:
" /W3 /Zm1000 /EHsc /GR /wd4996 /wd4996 /wd4996" 

-----Ursprüngliche Nachricht-----
Von: cmake-bounces+muffmolch=gmx.de at cmake.org
[mailto:cmake-bounces+muffmolch=gmx.de at cmake.org] Im Auftrag von Filipe
Sousa
Gesendet: Freitag, 2. September 2005 12:10
An: cmake at cmake.org
Betreff: Re: [CMake] Overriding default values

On Friday 02 September 2005 11:03, Sören Freudiger wrote:
> hmm... I'm running it on win32. this or the facr that I'm storing the 
> values back to cache may be the problem. furthermore I'm using ccmake .
> within linux not only cmake

Works on windows too

C:\_projects\rm\build>cmake -G"NMake Makefiles" ..
-- Check for CL compiler version
-- Check for CL compiler version - 1310
-- Check if this is a free VC compiler
-- Check if this is a free VC compiler - no
-- Check for working C compiler: cl
-- Check for working C compiler: cl -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: cl
-- Check for working CXX compiler: cl -- works
 /W3 /Zm1000 /GX /GR /wd4996
-- Configuring done
-- Generating done
-- Build files have been written to: C:/_projects/rm/build

C:\_projects\rm\build>cmake -G"NMake Makefiles" ..
 /W3 /Zm1000 /GX /GR /wd4996
-- Configuring done
-- Generating done
-- Build files have been written to: C:/_projects/rm/build

C:\_projects\rm\build>cmake -G"NMake Makefiles" ..
 /W3 /Zm1000 /GX /GR /wd4996
-- Configuring done
-- Generating done
-- Build files have been written to: C:/_projects/rm/build

C:\_projects\rm\build>cmake --version
cmake version 2.3-20050824


--
Filipe Sousa



More information about the CMake mailing list