[Cmake] Cleaning cache by cmake
sylvain.prat
sylvain.prat at laposte.net
Wed Jul 7 03:33:16 EDT 2004
Hi,
I think you don't use CMake correctly for that : no need to delete cache files. I do the same thing in the following manner : i generate caches for each platform in different directories (it is called out-source build, and this is the highly prefered method to avoid polluting the source directory with compiled code).
My hierarchy is for exemple :
/src
/build-cygwin
/build-visual6
/build-linux
And there's no cache problems :P
Cheers,
Sylvain
---------- Debut du message initial -----------
De : cmake-bounces at www.cmake.org
A : cmake at www.cmake.org
Copies :
Date : Wed, 07 Jul 2004 09:14:30 +0200
Objet : [Cmake] Cleaning cache by cmake
>Hi list,
>
>First of all I have to say, the tool is great! Finally I can compile my
>wxWidgets programs everywhere without much trouble. I always disliked creating
>makefiles (Linux, Mac, HP-UX) and projects (VS6, VS7) for every single OS ;-)
>
>Anyway, my problem is; I share my source under windows and linux. When I run
>cmake under linux, and cmake under windows already wrote cache entries there, I
>get errors about corrupted or invalid cache. Same goes for windows when I just
>left linux.
>
>Is there a way to clean out the cache files by command, so that all *.cmake,
>CMakeCache.txt etc is cleared out? I don't mind if the projects are also
>deleted in the process. It does save me a lot of time when I want to check
>something onder linux, and first I have to delete all the windows cache files
>by hand..
>
>Thanks in advance!
>
>- Jorgen
>
Sylvain PRAT
Fixe : 02 99 83 74 21
Mobile : 06 78 71 51 21
Web : http://prat.sylvain.free.fr
Accédez au courrier électronique de La Poste : www.laposte.net ;
3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)
More information about the Cmake
mailing list