On Fri, 2011-11-18 at 22:49 +0100, Michael Wild wrote:
> Sorry, I misread the documentation myself. You need multiple install()
> commands, for each configuration one, but after each DESTINATION option
> you also need the COMPONENTS option. So, this would be something like this:
>
> install(TARGET
Sorry, I misread the documentation myself. You need multiple install()
commands, for each configuration one, but after each DESTINATION option
you also need the COMPONENTS option. So, this would be something like this:
install(TARGETS first
ARCHIVE DESTINATION lib/release CONFIGURATIONS Release
Using the single command will place the release libraries into the
lib/release directory when using the -C Release flag with CPack. If I
do -C Debug flag with CPack then the PDB files are installed to
lib/debug but the libraries are installed to lib/release. Any reason
why this single command would
On 11/17/2011 06:12 PM, Stephen Torri wrote:
> CMake Version: 2.8
>
> Generator: Visual Studio 2008
>
> Problem: Two install commands are used per library. First command
> should only install libraries to lib/debug when the build type is
> Debug. The second command should only install libraries t
CMake Version: 2.8
Generator: Visual Studio 2008
Problem: Two install commands are used per library. First command
should only install libraries to lib/debug when the build type is
Debug. The second command should only install libraries to the
lib/release directory. When the build type is Debug t