views:

1777

answers:

8

I am new to CMake, i think the best way to learn it is to see how it is used in a real world project.

I know KDE uses CMake, however, my project is much small than that. On the other hand my project is bigger than mos the hello-world project in the tutorials.

simply speaking, my file structure looks like:

build # for binary
lib_external
lib_base
lib_high_level
app
    app/app_test1
    app/app_test2

is there any middle-size project that uses CMake in the open source community? thanks

A: 

The Visualization Toolkit (VTK) http://www.vtk.org and the Insight Segmentation and Registration Toolkit (ITK) http://www.itk.org use CMake. Although you may not find them to be middle-sized.

pkit
+1  A: 

The wikipedia page for CMake lists some projects. Perhaps there is a project which comes close to yours.

Nico
The page you linked to has been taken down.
Gili
+1  A: 

I use OpenSceneGraph as my general CMake how-to guide quite a bit.

cwick
A: 

One that's not listed on wikipedia but that you might find interesting if you're working on robotics and want to see a project that includes a myriad of other libraries (opencv, etc etc) all done using cmake is icub, based on YARP.

lorenzog
+1  A: 

The #cmake channel on freenode has this on the topic: "Good example: http://dev.csync.org/browser"

Nicolás
A: 

Look at the CMake project, it is the best example.

Dan
A: 

My master's thesis project uses CMake to build the final executable in Windows, Linux and Mac, and might be helpful to you:

http://remproject.org/

Adrian Kosmaczewski
A: 

I have moved rubyk to CMake.

You can have a look at the compilation for oscit: CMakeLists.txt.

The project is not trivial but not huge either and the CMakeLists.txt is documented.

Gaspard Bucher