Notes |
|
(0013371)
|
Bill Hoffman
|
2008-09-08 17:55
|
|
I don't think much will happen with this unless there is some external help. Would you be interested in implementing this with some pointers? |
|
|
(0013396)
|
A. Klitzing
|
2008-09-10 12:20
|
|
Yes, I can look into it in some weeks. Do you have some documentation for that? |
|
|
(0013648)
|
Bill Hoffman
|
2008-10-01 12:51
|
|
Not much documentation. You would need the following:
1. be able to drive the build system from the command line (for try compile stuff)
2. create some sub-classes of local and global generators.
Another option might be cmExternalMakefileProjectGenerator. It depends on if makefiles will still be used. |
|
|
(0014522)
|
Alex Neundorf
|
2009-01-10 09:42
|
|
Yes, have a look at cmExtraEclipseCDT4Generator.(h|cxx) and cmExtraCodeBlocksGenerator.(h|cxx), they are executed additionally to the normal makefile generator and generate projects files for the generated makefiles.
And it's not hard to do :-)
Alex |
|
|
(0020805)
|
Sebastian Meier
|
2010-05-21 08:27
|
|
Hi,
we are planning to try our luck on a basic generator for NetBeans 6.9 within the next week. So if there's any addtional infos you can give us or any potential pitfalls we should pay attention to, please post it here. |
|
|
(0020876)
|
Sebastian Meier
|
2010-05-31 12:32
|
|
Well, it turns out that three and a half working days were not enough to tackle this. I will have to look back into this once I get more time. I don't really know when this will be.
Meanwhile I created a github repository where I uploaded what I've done so far:
http://github.com/sebastianmeier/CMake/commit/0a43c4aeb7efe570ca2f5486f5582ac847ba3fa2 [^]
Here are some comments from the developers about what to do next - thanks for your help!
"If you are not going to use makefiles, then you do not want to base it
on the eclipse generator. You want to start with cmLocalGenerator and
cmGlobalGenerator."
"You might want to look at the VS 2010 generator as a model. It is the most recent one done. It has a target generator which is a bit easier than the
local/global split of the older way of doing things."
"Can NetBeans be driven from the command line? That is a requirement for getting try_compile to work."
"CMake includes TRY_COMPILE feature for which will create an
appropriate CMake project in order to try compile... Thus CMake will use CMAKE_BUILD_TOOL in order to try to build, since you said you won't go for "Makefile-based" generator there should be a way to "build" with NetBeans.
More informations:
cmake --help-variable CMAKE_BUILD_TOOL
cmake --help-variable CMAKE_GENERATOR
cmake --help-variable CMAKE_EXTRA_GENERATOR"
P.S.: A big help on how to implement a global/local generator seems to be Samuel E. Henley's Code Blocks Generator project:
http://osrail.net/construction/cmake-codeblocks-project [^]
I really liked his coding style - clean and readable. |
|
|
(0020882)
|
Sebastian Meier
|
2010-06-01 03:48
|
|
|
|
(0025524)
|
Alex Neundorf
|
2011-02-19 15:58
|
|
|
|
(0040669)
|
A. Klitzing
|
2016-03-14 07:00
|
|
I think this can be closed because netbeans supports cmake by itself |
|
|
(0041448)
|
Kitware Robot
|
2016-06-10 14:27
|
|
Resolving issue as `moved`.
This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
|