[CMake] qt standalone project : static link or dll copy (and how to do it?)

Ralf Habacker ralf.habacker at freenet.de
Fri Sep 26 02:09:15 EDT 2008


Michael Jackson schrieb:
> The following is what I use. There may be better methods
You may take a look at the kdewin installer build system source which is 
available at 
http://websvn.kde.org/trunk/kdesupport/kdewin-installer/CMakeLists.txt?revision=854656&view=markup

Search for the term 'INSTALL_SYSTEM_LIBS'. 
There is also code for detecting if qt is build in shared or static mode. Look for the term 'build type settings' 

Ralf 




More information about the CMake mailing list