On 07/10/2013 09:04 AM, Brad King wrote: > The new code does: > > + target.GetCompileDefinitions(targetDefines, configName); > > which runs ExpandListArguments internally too. Then you re-compose > a ;-list without re-escaping the semicolons and pass it to > > + targetOptions.AddDefines(targetDefinesString.c_str()); > > which does ExpandListArguments again.
I think the simplest fix is to add a cmIDEOptions::AddDefines overload that operates directly on the vector of strings. -Brad -- 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers