On Nov 19, 2007 7:12 PM, Alexander Neundorf <[EMAIL PROTECTED]> wrote: > On Monday 19 November 2007, Salvatore Iovene wrote: > > Hi, > > > > If I call cmake with, say, -DFOO:STRING=Bar, how can I do so that the > > value of FOO will be remembered the next time cmake is issued, without > > having to give it explicitly? This is particularly usefule in case I > > If you use the type as given in your example it will always go in the cache. > If you omit the type, it will go in the cache if the type is defined later on > in any of the cmake files or if you are using cmake cvs.
Ok, then my problem was that I wasn't using the type in my real life app, but only in the example in the email :) Thanks! -- Salvatore Iovene http://www.iovene.com/ Key Fingerprint: 5647 944D D5AD 2E87 00B4 7D54 2864 359D FF20 16D8 _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
