[CMake] CPack output name using VS IDE

Totte Karlsson totte at dunescientific.com
Tue Jan 10 03:18:37 EST 2012


Hi,
I want my Install package from CPack to have Debug or Release in its name.
In my CMake file I have
set(CPACK_PACKAGE_NAME										"MyPackage-${CMAKE_BUILD_TYPE}")

But when executing the PACKAGE target, from within VS IDE, the 
${CMAKE_BUILD_TYPE} does not seem to be set.

Any tips?

totte

-- 
.........................
Totte Karlsson, Ph.D.
Dune Scientific, LLC
425-296 1980 (office)
425-780 9648 (cell)
www.dunescientific.com
.........................



More information about the CMake mailing list