[CMake] Get configuration-dependant LOCATION property

Mateusz Loskot mateusz at loskot.net
Mon Oct 4 04:53:04 EDT 2010


On 04/10/10 07:33, J Decker wrote:
> CMAKE_INSTALL_CONFIG_NAME I don't know if there's a simple flag like
> 'project supports multiple targets' so I have an if(MSVC) set(
> MULTI_TARGET) endif()  .... if( MULTI_TARGET ) Install( targets ...
> ${CMAKE_INSTALL_CONFIG_NAME ) else() isntall( ... ${CMAKE_BUILD_TYPE}


I need it before firing up install procedures.
I build.
I run tests (here I need to know location of build output per target).
I install.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org


More information about the CMake mailing list