2012/5/21  <[email protected]>:
> Is there an environment variable or a CMake/CPack variable which is must set?

Currently AFAIK there aren't any.
But it would be easy to add, you may propose a patch.

> how can I configure a project for Visual Studio to use the "--verbose" and 
> the "--debug"
> options/command line parameters?

As a workaround I would suggest to craft a custom target that will do the job:

add_custom_target(PACKAGE_DEBUG
              COMMAND ${CMAKE_CPACK_COMMAND} --debug --verbose
--config CPackConfig.cmake
              COMMENTS "Build package with debug and verbose output")
-- 
Erk
Le gouvernement représentatif n'est pas la démocratie --
http://www.le-message.org
--

Powered by www.kitware.com

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

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

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to