Request for help: CMake build file

CABAListic

21-02-2008 17:51:51

I would like to stop maintaining several different build files (currently a CodeBlocks workspace, a VC2005 solution and a Linux Makefile). CMake seems like a good replacement to me, but I don't want to delve deeper into it at the moment.
Maybe someone here is experienced enough with CMake that he can give me a headstart, so to speak. I'd like to have a CMake build file for a static library (debug and release builds) where I can just add my cpp files. Since ETL requires Ogre, it should be able to make reasonable guesses about the location of the Ogre headers on the different platforms (at least Windows and Linux). Has anyone done this before?
Thanks.