Re: dummy.cpp in kimagemapeditor?

Andras Mantia <[email protected]>
Newsgroups gmane.comp.kde.devel.quanta
Message-ID <[email protected]>
On Saturday 29 April 2006 08:33, Jens Herden wrote:
> Hi,
>
> the build system creates two files kimagemapeditor/dummy.cpp and .h
> in the source folder.
> 1. what is happening there? Do we really need this?

Yes, this is the trick to use the same code for a module (kpart) and an 
application. People usually linked against the module, but that is not 
portable, so there is a need for a dummy target.

> 2. If we need it, can we change it to create the files in the build
> folder and not in the source folder?

I don't know how this is implemented with cmake, so I cannot pronounce.


Andras
-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org

_______________________________________________
quanta-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/quanta-devel
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBEUvxITQdfac6L/08RAlk0AJ9u0aQT9aqIdo/6dQ0ZvKM6PP2BfACfcGN2
sTFvvvKYa2B52/1RO9/bWdI=
=kuzi
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.