Greetings all. This will just a be short post to provide CMake Wizard 2.3. This is just a maintenance release to cover some changes in GCC that have come out recently that prevented the generated projects from compiling. Essentially it is just the inclusion of stdio.h to the file to provide the macro EOF for the getopt stuff. I do have some other directions I want to take this (and some bug-fixes to cover edge-cases) but this will at least keep the project working for now. The link to the project is here:
To install:
Untar this file in your home directory. It will create a folder called .cmwiz and put all of the template files and installation code into it. Look at the readme.txt file for final installation details (setting up symlinks, adding GTK support, etc).
When done creating a new project for hacking should be as simple as:
1. Create a folder in your development directory.
2. Change to that folder.
3. Run cmwiz
4. Answer the questions; if you are in a hurry the drunken-chicken path can be followed, resulting in a basic C++ project with getopt support, a main executable and a single shared library. The drunken-chicken path can be best described as simply hitting Enter over and over again to all queries (except for naming the project; this is kind of critical as many of the file names are derived from this) will result in a working project.
5. After the interview stage the CMake project is generated along with a C++ framework which is then compiled and linked, resulting in a working project in just a few seconds.
Enjoy and as usual, if you have any questions you can write to me at JeffC@JBCobb.net. This is still released under the GPL 3.0.
Me to you.
JeffC

Related Articles
1 user responded in this post
[...] just a little more that what you have. You can download the latest version of the script is here: JBCobb.net
Leave A Reply