NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
magisu
Joined: 14 Nov 2008 Posts: 3
|
Posted: Sat Dec 20, 2008 11:36 pm Post subject: Is it possible to enjoy NetBeans with CMake? |
|
|
Hello!
I am using CMake to develop some KDE4 applications. However, It seems that CMake and NetBeans do not work together well. Is it possible to hack it? |
|
| Back to top |
|
 |
rakatan
Joined: 11 Apr 2009 Posts: 1
|
Posted: Sat Apr 11, 2009 4:28 pm Post subject: cmake + netbeans |
|
|
no hacks are necessary, create a cmake project, build a makefile, then create netbeans project from existing source + provide created Makefile. thats it  |
|
| Back to top |
|
 |
gbullock
Joined: 21 Apr 2010 Posts: 9 Location: Pacific Grove, CA
|
Posted: Wed Apr 21, 2010 9:18 pm Post subject: |
|
|
It's even easier with NetBeans 6.8:
- Don't create the Makefile -- in fact, delete it if it exists.
- File: New Project...: C/C++: C/C++ Project with Existing Sources
- After clicking Next, browse for the folder with your source files and CMakeList.txt file.
- For the "Select Configuration Mode", choose the Automatic radio button.
NetBeans will use the CMakeList.txt file to automatically populate the project, build the Makefile, and build your project.
Use the CMakeList.txt file to manage your project settings. NetBeans will run cmake as needed to rebuild the Makefile. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|