> -------- Original-Nachricht -------- > Datum: Mon, 12 Jun 2006 03:13:27 -0700 > Von: "Brandon J. Van Every" <[EMAIL PROTECTED]> > An: cmake <[email protected]> > Betreff: Re: [CMake] output a string instead of a list > > Alexander Neundorf wrote: > > > > > > Von: "Brandon J. Van Every" <[EMAIL PROTECTED]> > > > > > > > > Bah. I finally found the problem. All of my string > > > > handling was > > > > correct. I was passing arguments to a CMake script using > > > > INCLUDE(${CMAKE_CURRENT_BINARY_DIR}/vars.cmake) because there are no > > > > command line arguments for scripts in CMake 2.4.2. > > > > You mean cmake -P myscript.cmake -DSOMEVAR=foo ? > This works, it is the > > same as when you use -D when calling cmake to configure your project. It > > should really work. > I use it this way and the only issues I had were with > > spaces in the arguments, i.e. they have to be escaped properly. > > Last I read the archives, and last I checked it on the command line,this > doesn't work in 2.4.2. You sure you're not using a CVS CMake?
Yes, sure. I'm using this since several months and I think most of the CheckFooExists.cmake modules use this too. Bye Alex -- "Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
