[CMake] Help with cross-platform app's cmake setup

2010-01-28 Thread Timothy Reaves
I help contribute to Stellarium, which is a cross-platfor planetarium app, written using Qt. It uses cmake for the build system; it just doesn't do it well. I think the files are much more complex than they need to be, and as usual, the Mac stuff doesn't really work. I've looked at

[CMake] How to refer to current configuration?

2010-01-16 Thread Timothy Reaves
I have a project that produces a dynamic library. This gets built to a directory that in the src tree. Specifically, it is put in a subdirectory of src that is the same as the name of the active configuration. So if I am building a debug release, the path is src/Debug/my.dylib, and

[CMake] Xcode path issue

2010-01-14 Thread Timothy Reaves
Hello all. In one of the projects I work on that uses cmake, there are lines of code like so: SET(SSPL ${SSPL} ${CMAKE_BINARY_DIR}/plugins/HelloStelModule/src/libHelloStelModule.a) and that seems to work for Linux and Windows. But it doesn't on Mac with Xcode. With Xcode,