[CMake] Figuring out dependencies for a library in order to build

Amitha Perera perera at cs.rpi.edu
Mon Jul 18 16:17:51 EDT 2005


On Mon 18 Jul 2005, E. Wing wrote:
> On 7/18/05, William A. Hoffman <billlist at nycap.rr.com> wrote:
> > For example wx windows has a script wx-config that tells you what
> > flags and libraries to link.  How are users of the SDL_sound
> > supposed to do this stuff without CMake?
> 
> Currently, there is no configuration file like wx-config as far as I
> know.

For what it's worth, SDL itself does have such a config, at least on
my RedHat system:

$ sdl-config --libs
-L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread

I don't know anything about SDL_sound, and very little about SDL, so
I'll go back to lurking now.

Amitha.


More information about the CMake mailing list