Skip to content

Latest commit

 

History

History
54 lines (44 loc) · 1.24 KB

README.md

File metadata and controls

54 lines (44 loc) · 1.24 KB

Build Status Build status

cpackplay

Example project to use cpack and explore its capability

  • CPACK and component to create multiple .zip at once
  • Cross platform NSIS

Prerequisite

sudo apt-get cmake install nsis-pluginapi mingw-w64

Play with it

First test is possibility to generate more than one .zip at once. Key point for this is

set(CPACK_ARCHIVE_COMPONENT_INSTALL ON)

So doing... produce two archives

mkdir BUILD
cd BUILD
cmake ..
make
make package

In order to try not per component behavior try with...

cpack -D CPACK_ARCHIVE_COMPONENT_INSTALL=OFF .

Bonus

And Pippo is Italian for Goofy

               .
                \ | /
                _\|/_
              .' ' ' '.        ___
            _.|.--.--.|.___.--'___`-.
          .'.'||  |  ||`----'"`   ``'`
        .'.'  ||()|()||
.___..-'.'    /       \
`----'"`     /   .-.   \
            (.'.(___).'.)
             `.__.-.__.'
              |_|   |_|
               `.`-'.'
                 `"`