[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Static and shared libraries
From:       Thorsten Westheider <thorsten.westheider () teleos-web ! de>
Date:       2001-01-29 9:39:12
[Download RAW message or body]

Hi,

I wonder how to build static and shared libraries employing 
am_edit's "automoc" feature and a single source tree. 
Everything seems to work fine provided there are no meta sources
to be generated:

lib_LIBRARIES       = libMyLib.a                                           

libMyLib_a_SOURCES  = x.cpp \
		      y.cpp \
                      z.cpp
		     
lib_LTLIBRARIES     = libMyLib.la                                           

libMyLib_la_SOURCES = $(libMyLib_a_SOURCES)

However, using QObject's in the source code and adding a
line for automatic meta source generation 

libMyLib_la_METASOURCES = AUTO

does not work (neither does "libMyLib_a_METASOURCES = AUTO"
though one might think it could because of the line
"libMyLib_la_SOURCES = $(libMyLib_a_SOURCES)").
Is there a sophisticated solution to this problem? Any help
would be greatly appreciated!

	Cheers,
	  Thorsten
	
-- 
Dipl.-Phys. Thorsten Westheider     / /  (_)__  __ ____  __    
Im Schlingen 15                    / /__/ / _ \/ // /\ \/ /   
32120 Hiddenhausen -- Germany     /____/_/_//_/\_,_/ /_/\_\
Registered Linux user #70403
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic