[CMake] CPack specify filename
Clinton Stimpson
clinton at elemtech.com
Wed Jun 1 17:48:15 EDT 2011
On Wednesday, June 01, 2011 02:58:22 pm NoRulez wrote:
> Hi,
>
> if I use PackageMaker, DragNDrop, Bundle, OSXX11 then the problem is that
> all 4 filenames are equal (e.g. "Project.dmg"). The problem now is, that
> each cpack routine overwrites the package.
>
> Is it possible to avoid this behavior with a custom filename per Generator?
>
> E.g.: Project_OSXX11.dmg, Project_DragNDrop.dmg, ...
>
> Thanks in advance
<http://www.vtk.org/Wiki/CMake:CPackPackageGenerators#Overall_usage_.28common_to_all_generators.29>
You can set CPACK_PROJECT_CONFIG_FILE and in that file include per-generator
code.
--
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com
More information about the CMake
mailing list