[CMake] Getting configuration information
Fernando Cacciola
fernando.cacciola at gmail.com
Thu Dec 20 11:12:43 EST 2007
Hi,
I need to "assemble" the name of the output library based on certain
parameters mostly dependent on the build type (configuration):
* has debug information
* has diagnostics (trace, etc)
* optimize for size/speed
* is multihreading supported
* the RTL to use is statis or dynamic
.. and possibly others
What the best way to extract that for the current generator (other than hard
coding it)?
P.S: Yes, this is directly related to boost-style autolinking in case you
wonder (but for a different project which just borrows that from boost)
TIA
--
Fernando Cacciola
SciSoft
http://fcacciola.50webs.com
More information about the CMake
mailing list