Re: [CMake] code::blocks project generated by cmake can not set arguments to main func

2011-01-18 Thread Alexander Neundorf
On Wednesday 22 December 2010, tfjiang wrote: > Hi,everyone. > While using cmake to generate a code::blocks project, I met a problem. I > can not send argument to "int main(int argc,char *argv[])". I found some > suggestions like that: add arguments in "projects-send programs' > argument". It works

[CMake] code::blocks project generated by cmake can not set arguments to main func

2010-12-21 Thread tfjiang
Hi,everyone. While using cmake to generate a code::blocks project, I met a problem. I can not send argument to "int main(int argc,char *argv[])". I found some suggestions like that: add arguments in "projects-send programs' argument". It works in my testing project which is directly generated by c