Clinton Stimpson wrote:

I've got this in a CMakeLists.txt file:

PROJECT(foo)
MESSAGE("${CMAKE_SIZEOF_VOID_P}")

If I run with cmake 2.6 it prints out the size.
If I run cmake 2.8 on it without deleting the cache, it goes empty.
If I manually fix CMakeFiles/CMakeC*Compiler.cmake, everything else seems fine.

Am I supposed to delete my cache? Or is cmake not supposed to leave me with an empty sizeof void*?


I don't think we can support running two versions of cmake on the same build tree. So, yes, you are supposed to delete the cache and the CMakeFiles directory.

-Bill
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to