Skip to content

Example project to use cpack and explore its capability

License

Notifications You must be signed in to change notification settings

michelepagot/cpackplay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

About

Example project to use cpack and explore its capability

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published