[CMake] Any way to append CMAKE_INSTALL_PREFIX with CMAKE_CFG_INTDIR?

2015-03-24 Thread Thompson, KT
Hi, For build tools like Visual Studio or Xcode, I would like to have CMAKE_INSTALL_PREFIX end with the build configuration type (Release, Debug, etc.) I tried to append CMAKE_INSTALL_PREFIX with ${CMAKE_CFG_INTDIR} or $ but those approaches didn’t work (The install directory had was a folder

Re: [CMake] Any way to append CMAKE_INSTALL_PREFIX with CMAKE_CFG_INTDIR?

2015-03-24 Thread David Cole via CMake
An "install" of a CMake based project is invoked something like this from within a generated Visual Studio project: cmake.exe -DBUILD_TYPE=$(Configuration) -P cmake_install.cmake If you dig into the (generated) cmake_install.cmake file, you'll see a chunk like this right near the top of the f

Re: [CMake] Any way to append CMAKE_INSTALL_PREFIX with CMAKE_CFG_INTDIR?

2015-03-24 Thread Thompson, KT
That solution works for me. Thanks for your help! -Original Message- From: David Cole [mailto:dlrd...@aol.com] Sent: Tuesday, March 24, 2015 12:23 PM To: Thompson, KT Cc: cmake@cmake.org Subject: Re: [CMake] Any way to append CMAKE_INSTALL_PREFIX with CMAKE_CFG_INTDIR? An "instal