INSTALL EXPORT for Debug and Release

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

INSTALL EXPORT for Debug and Release

Justin Berger
With two build directories -- one for release and one for debug -- using the Makefile generator, it seems like calling one 'make install' replaces out the export files for the other with the message:

> Old export file "<project>.cmake" will be replaced.  Removing files [<project>-debug.cmake]

The INSTALL snippet just looks like:

> install(EXPORT <project> DESTINATION lib/<project>)

The question is, is it possible to use a single config generator like Makefiles to install both a working release and debug version of a library?

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake