The `add_custom_target' command still transforms the semicolons into spaces. I don't the the VERBATIM option really means "verbatim".
Eric. Sam Baker wrote: > Change your set command to set (FOO "one;two;three") > > The ; notation without quotes is used for declaring lists of strings. > With quotes, FOO will be a single string instead. > > Sam > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Eric (Brad) Lemings > Sent: Tuesday, October 21, 2008 2:01 PM > To: [email protected] > Subject: [CMake] Semicolons in command options > > Why does CMake do this and how can I tell it to NOT replace semicolons > with spaces? > > CMakeLists.txt: > set (FOO one;two;three) > add_custom_target (foo.exe ALL > myCmd -I${FOO} > VERBATIM) > > CMake Output: > myCmd -Ione two three > > Thanks, > Eric. > > _______________________________________________ > CMake mailing list > [email protected] > http://www.cmake.org/mailman/listinfo/cmake > > > Big Fish Games, Inc. A New Game Every Day! > > _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
