[CMake] Setting up command line arguments on generated executables

2010-12-20 Thread Alessandro Carpi
Hi there, I am using cmake to generate Xcode projects starting from the usual CMakeLists.txt I often modify CMakeLists.txt to add some source, so I have to re-generate the whole project using cmake -G Xcode, but everytime I have to manually set up the executable command line arguments from Xcode

Re: [CMake] Setting up command line arguments on generated executables

2010-12-20 Thread Michael Wild
On 12/20/2010 03:34 PM, Alessandro Carpi wrote: > Hi there, > > I am using cmake to generate Xcode projects starting from the usual > CMakeLists.txt > > I often modify CMakeLists.txt to add some source, so I have to re-generate > the whole project using cmake -G Xcode, but everytime I have to >

Re: [CMake] Setting up command line arguments on generated executables

2010-12-20 Thread Ryan Pavlik
The issue here is that XCode stores those command line arguments into the same project file that CMake re-generates. I'm pretty sure there's an open bug on this one, but it's a somewhat tricky issue. You might consider using my CreateLaunchers cmake modules, available here [1] - while they don't d