Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
CPack
Search
Mike McQuaid
February 29, 2012
Programming
2.4k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
CPack
Cross-platform packaging with CPack.
Presented at the Gran Canaria Desktop Summit in 2009.
Mike McQuaid
February 29, 2012
More Decks by Mike McQuaid
See All by Mike McQuaid
Package Management Learnings from Homebrew
mikemcquaid
0
520
What happened to RubyGems and what can we learn?
mikemcquaid
0
650
Ruby on (Guard)Rails
mikemcquaid
0
460
Using "modern" Ruby to build a better, faster Homebrew
mikemcquaid
3
5.5k
Homebrew's Evolution
mikemcquaid
0
450
Open Source: boundaries, burnout, business
mikemcquaid
0
820
Homebrew’s Great Migration: moving to GitHub Packages with zero downtime
mikemcquaid
0
970
Building effective relationships
mikemcquaid
0
640
Homebrew - What's Happened and What's Next?
mikemcquaid
0
590
Other Decks in Programming
See All in Programming
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
420
Vue Fes Japan 2026 タイムテーブル徹底解説
448jp
1
230
モジュールの視点からSwiftを読み解く #iosdc
s_shimotori
0
180
Go × SIMDで高速化するベクトル検索 ~ルーフラインモデルでSIMDが効く境界を探れ! ~
po3rin
1
1.5k
速習iPhone Duo対応
yuukiw00w
1
530
市販E-Readerを乗っ取れ 〜Embedded Swiftで電子ペーパーガジェットを制御する〜
trickart
0
190
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
120
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
4
2.1k
一人だけ、Kiroが静止する日
hideg
0
110
20260914 AIエージェント時代のPlatform Engineering LLM基盤とプロダクトの責務境界線
kanfab1
7
2k
WebMCP Challenge に星空観察アプリで参加した話
okajun35
0
180
スマートフォンでモールス信号を送受信する 〜スマートフォンのLEDとカメラで作る光通信の設計と実装〜
atsuki_seo
0
130
Featured
See All Featured
A better future with KSS
kneath
240
18k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.7k
Prompt Engineering for Job Search
mfonobong
0
450
RailsConf 2023
tenderlove
30
1.5k
Raft: Consensus for Rubyists
vanstee
142
7.7k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
520
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.9k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
230
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
580
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.8k
Navigating Weather and Climate Data
rabernat
0
520
Faster Mobile Websites
deanohume
310
32k
Transcript
CPack Mike Arthur
Written software?
Written cross-platform software?
Packaged software?
Packaged cross-platform software?
#ifdef WIN32 MFCYuck(2, 9, 1, &_PUKE); #endif #ifdef APPLE id
CocoaNonsense = [UnnecessaryBling sparkle]; #endif #ifdef LINUX X11SpribbleJurop w2_hojed = XJurop(3, wizzle, &apolty); #endif
:’(
Qt
QSomethingNice phew = QCrossPlatform(Qt::Easy);
:D
EXE + ZIP + DMG + APP + DEB +
RPM + TGZ + TBZ2 + ....
Different Components
ssh windows makeInstall.bat ... zip ... ssh osx hdiutil ...
makeBundle.sh ... ssh linux debbuild ... rpmbuild ... tar ...
CPack
(CMake +) CPack
Windows
None
OS X
None
None
Linux
dpkg -i MendeleyDesktop.deb rpm -i MendeleyDesktop.rpm
Step One
include(CPack)
Step Two
Step Two
Charm-0.1.1-Darwin.dmg Charm-0.1.1-Darwin.sh Charm-0.1.1-Darwin.tar.gz
None
None
None
set(CPACK_PACKAGE_VERSION_MAJOR 1) set(CPACK_PACKAGE_VERSION_MINOR 3) set(CPACK_PACKAGE_VERSION_PATCH 0)
None
set(CPACK_GENERATOR “PackageMaker”)
Easy?
1) Variables
2) Graphics
3) Dependencies
Linked libraries?
GetPrerequisites.cmake
Runtime libraries? External executables?
:(
4) Limitations
5) Patch
6) Ask
Mailing list Mike
Questions?