[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Migriting from qmake to autotools

From: Andre Caldas
Subject: Re: Migriting from qmake to autotools
Date: Mon, 07 Mar 2005 17:54:01 +0900
User-agent: Debian Thunderbird 1.0 (X11/20050116)


> Any ideas? how should I write so this doesn't happen?

I cannot solve your original, problem... but here is how I build subdirectories: "convenience libraries"

You have subdirectories in this project of yours because you need to organize the sources into groups. Well, you could make each group into a convenience library, and then link them at the end (the top directory will be build last). This does *not* mean you will have to install libraries.

For example:

  SUBDIRS = store colors
  ktoon_SOURCES = main.cpp
  ktoon_LIBADD = store/ colors/

In store/

  noinst_LTLIBRAIRES =
  libstore_la_SOURCES = animation.cpp brush.cpp camera.cpp

I hope you find this useful :-)

Andre Caldas.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]