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

[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 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 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.

[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