Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages