On 02/20/2011 09:20 PM, Kristopher Gamrat wrote:
On Mon, Feb 21, 2011 at 3:12 AM, David C. Rankin drankinatty@suddenlinkmail.com wrote:
Guys,
I'm taking a stab at moving application/knemo to CMake. I'm new to cmake, but given a reasonable outline of what to do, I'll bet I can slog through it. knemo seems small enough to serve as a good package to learn with.
<snip>
Serghei started a cmake conversion scrapbook (with macros to help speed things up) on the wiki at http://trinity.pearsoncomputing.net/wiki/bin/view/Developers/CMakeConversion... -- I'm not sure if this is completely finished, I'm not familiar with cmake either, but it should at least help get things started. I remember him saying on IRC that you'll likely have to do some manual editing, but hopefully his stuff will at least get you to where you need to be to finish it off.
Hey - Great! I'll go give it a look over. I've made progress. Most of the files just needed to be present (they were empty in kdewebdev), I'm down to the 'make install' error:
-- checking for 'Qt' -- Performing Test HAVE_PATCHED_QT3 -- Performing Test HAVE_PATCHED_QT3 - Success -- found patched Qt, version 3.3.8 -- checking for one of the modules 'TQt' -- checking for 'TDE' -- found 'TDE', version 3.5.13 -- Configuring done -- Generating done -- Build files have been written to: /home/david/tbld/applications/knemo/src /usr/bin/cmake -H/home/david/tbld/applications/knemo -B/home/david/tbld/applications/knemo/src --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/david/tbld/applications/knemo/src/CMakeFiles /home/david/tbld/applications/knemo/src/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory `/home/david/tbld/applications/knemo/src' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/david/tbld/applications/knemo/src' /usr/bin/cmake -E cmake_progress_start /home/david/tbld/applications/knemo/src/CMakeFiles 0 make: *** No rule to make target `install'. Stop.
No rule to make target 'install'? Seems easy enough to solve. I'll go read. If you have a quick suggestion, let me know. Thanks!