Re: [CMake] Generator for NetBeans 6.9

2010-06-01 Thread Bill Hoffman
On 5/31/2010 4:19 AM, Sebastian Meier wrote: Hi Bill, Can NetBeans be driven from the command line? That is a requirement for getting try_compile to work. No, I don't think it is possible call NetBeans via command line in order to build targets. But since NetBeans relies on external tool ch

Re: [CMake] Generator for NetBeans 6.9

2010-05-31 Thread Sebastian Meier
> May be you can share the hack as a patch on the bug tracker. > May be it's unusable as-is but it may already contain valuable > information for anyone wanting > to tale over? I have taken Michael Wild's advice and created a repository at github. I have created a topic branch (branched off "mast

Re: [CMake] Generator for NetBeans 6.9

2010-05-31 Thread Eric Noulard
2010/5/31 Sebastian Meier : > Hi Bill, > >> Can NetBeans be driven from the command line?  That is a requirement for >> getting try_compile to work. > > No, I don't think it is possible call NetBeans via command line in order to > build targets. But since NetBeans relies on external tool chains li

Re: [CMake] Generator for NetBeans 6.9

2010-05-31 Thread Eric Noulard
2010/5/31 Sebastian Meier : > Update. > > My allocated time slot for looking into a NetBeans generator has finished. My > impression is that patching CMake to suit our company's needs would be fairly > easy. I have actually gotten quite far with that. > > But OTOH this easy way would be merely a

[CMake] Generator for NetBeans 6.9

2010-05-31 Thread Sebastian Meier
Update. My allocated time slot for looking into a NetBeans generator has finished. My impression is that patching CMake to suit our company's needs would be fairly easy. I have actually gotten quite far with that. But OTOH this easy way would be merely a hack that would benefit no one but us.

Re: [CMake] Generator for NetBeans 6.9

2010-05-31 Thread Sebastian Meier
Hi Bill, > Can NetBeans be driven from the command line? That is a requirement for > getting try_compile to work. No, I don't think it is possible call NetBeans via command line in order to build targets. But since NetBeans relies on external tool chains like gcc, MinGW or CygWin, is this

Re: [CMake] Generator for NetBeans 6.9

2010-05-28 Thread Bill Hoffman
On 5/28/2010 3:48 AM, Sebastian Meier wrote: Hi Alex, Hmm, if you plan to implement a makefile-based generator, why are all those settings needed in the project file ? I am not planning to implement a makefile-based generator. I just chose cmExtraEclipseCDT4Generator as a starting point becau

Re: [CMake] Generator for NetBeans 6.9

2010-05-28 Thread Sebastian Meier
Hi Alex, > Hmm, if you plan to implement a makefile-based generator, why are all > those settings needed in the project file ? I am not planning to implement a makefile-based generator. I just chose cmExtraEclipseCDT4Generator as a starting point because it seemed practical. Do you think in thi

Re: [CMake] Generator for NetBeans 6.9

2010-05-26 Thread Alexander Neundorf
On Wednesday 26 May 2010, Sebastian Meier wrote: > Update. > > After a more thorough look at the code, I believe that Alex was on the > right track. I have copied cmExtraEclipseCDT4Generator to > cmExtraNetBeans69Generator, registered the new generator via > AddExtraGenerator() (in cmake.cxx), and

Re: [CMake] Generator for NetBeans 6.9

2010-05-26 Thread Michael Wild
On 26. May, 2010, at 9:35 , Sebastian Meier wrote: > [...] > > Questions: > > - Do we already have a class or API for XML output I can use? Or will I have > to implement a small XmlWriter class? Looks like it doesn't exist. There's a class (cmXMLSafe) that properly escapes/encodes strings, bu

Re: [CMake] Generator for NetBeans 6.9

2010-05-26 Thread Sebastian Meier
Update. After a more thorough look at the code, I believe that Alex was on the right track. I have copied cmExtraEclipseCDT4Generator to cmExtraNetBeans69Generator, registered the new generator via AddExtraGenerator() (in cmake.cxx), and removed any Eclipse-specific stuff from my new generator.

Re: [CMake] Generator for NetBeans 6.9

2010-05-25 Thread Gary Briggs
On Tue, May 25, 2010 at 10:42:37AM +0200, Sebastian Meier wrote: > Hi, > > I am currently working on a basic generator for the NetBeans 6.9 IDE. At > http://www.cmake.org/Bug/view.php?id=7632, Alex Neundorf writes: I can't really provide any deep thoughts on implementation, but... YAY! I desire

[CMake] Generator for NetBeans 6.9

2010-05-25 Thread Sebastian Meier
Hi, I am currently working on a basic generator for the NetBeans 6.9 IDE. At http://www.cmake.org/Bug/view.php?id=7632, Alex Neundorf writes: "[...] have a look at cmExtraEclipseCDT4Generator.(h|cxx) and cmExtraCodeBlocksGenerator.(h|cxx), they are executed *additionally to the normal makefile