[CMake] A CMake project called Help?

2011-06-10 Thread Alan Garny
Hi, I have a CMake project with several sub-projects (plugins for my application), one of which is called Help. Now, everything works fine in that it compiles and builds as expected. However, I do get a couple of warnings: makefile:1227: warning: overriding commands for target `Help'

Re: [CMake] A CMake project called Help?

2011-06-10 Thread Bill Hoffman
On 6/10/2011 10:50 AM, Alan Garny wrote: Hi, I have a CMake project with several sub-projects (plugins for my application), one of which is called “Help”. Now, everything works fine in that it compiles and builds as expected. However, I do get a couple of warnings: makefile:1227: warning:

Re: [CMake] A CMake project called Help?

2011-06-10 Thread Alan Garny
I have a CMake project with several sub-projects (plugins for my application), one of which is called Help. Now, everything works fine in that it compiles and builds as expected. However, I do get a couple of warnings: makefile:1227: warning: overriding commands for target `Help'

Re: [CMake] A CMake project called Help?

2011-06-10 Thread Bill Hoffman
On 6/10/2011 1:53 PM, Alan Garny wrote: I would change the name of your target to help_something, then use OUTPUT_NAME to change it back to help. set_target_properties(MyHelp PROPERTIES OUTPUT_NAME Help) Thanks Bill. Though I don't particularly like the idea, I thought I would give it a

Re: [CMake] A CMake project called Help?

2011-06-10 Thread Alan Garny
I would change the name of your target to help_something, then use OUTPUT_NAME to change it back to help. set_target_properties(MyHelp PROPERTIES OUTPUT_NAME Help) Thanks Bill. Though I don't particularly like the idea, I thought I would give it a try anyway. However, because I am