<div>Hi,<br></div><div><br></div><div>I have a custom target which basically calls the cmake install script. The install script can install both debug and release configs so I define the custom command with the -DBUILDTYPE=${CMAKE_CFG_INTDIR}, as follows:</div>
<div><br></div><div>add_custom_target(My_Install_After_Build ALL COMMAND ${CMAKE_COMMAND} -DBUILD_TYPE=${CMAKE_CFG_INTDIR} -P ${CMAKE_BINARY_DIR}/cmake_install.cmake) </div><div><br></div><div>The problem is CMAKE_CFG_INTDIR is empty!.</div>
<div><br></div><div>Any ideas how to get
CMAKE_CFG_INTDIR filled or any ideas on a workaround?</div><div><br></div><div>Paul </div>