Well, the Chicken Scheme-to-C compiler is not oriented towards KDE4 in any
way, but it does currently feature a unified CMake and Autoconf build.  Much
as I'm trying to get people to dump the Autoconf build, they're scared to
let go of it.  So, you can see a lot of non-trivial Autoconf and CMake stuff
side by side, and strategies for supporting both at once while maintaining
stability.  My CMake build is heavily commented, it's supposed to serve as a
tutorial for new CMakers to some degree.
http://www.call-with-current-continuation.org

Cheers,
Brandon Van Every


On 5/10/07, Andreas Pakulat <[EMAIL PROTECTED]> wrote:

Hi,

I need some help converting an autotools project to cmake. I ran an
am2cmake script (from KDE4) which created somewhat usable
CMakeLists.txt. What it didn't do is convert the config.h.in to a
config.h.cmake and I don't really have an idea what to do with that
file.

Looking at some kde4 stuff I tried replacing all #undef foo with
#cmakedefine foo 1. But all that I get is commented out #undef foo 1.

What do I have to do to get this to work? A pointer to a simple
cmake using project that I can learn from is perfectly fine.

Andreas

--
Don't hate yourself in the morning -- sleep till noon.
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to