mirror of
https://github.com/Studio3T/robomongo.git
synced 2025-12-04 16:25:19 -05:00
Page:
Package Robomongo
Pages
Build Robomongo (0.8.x 0.9.0 RC9)
Feature Spec
Home
How Welcome Tab works
How to export to CSV
How to use SSH port forwarding with Robo 3T
New Release Check List
Notes: Upgrade to MongoDB 4.0
Package Robomongo
Qt Build System
Restore connection strings from versions below 0.9.0 RC2
Robo 3T Schematics: Build, Class and UI Diagrams
Robomongo Code Quality
Robomongo Code Review
Robomongo Coding Style
Robomongo Config File Guide
Robomongo Config File
Robomongo Cplusplus 11, 14 Transition Guide
Robomongo ECMAScript 2015 (aka ES6) Support
Static Code Analysis
Tests
Translator's guide
Unit Tests
Upgrade Guide From MongoDB 3.2 to 3.4 and 3.4 to 4.0
Upgrade Guide to MongoDB 4.2 from 4.0
macOS Upgrade Guide
No results
4
Package Robomongo
Gökhan Simsek edited this page 2016-08-01 12:04:11 +03:00
1. General Info/Rules
i. Relative Path Rule
Use relative paths instead of absoute paths for install "DESTINATION" in cmake.
Example: In the example below, using absolute path like " DESTINATION ${CMAKE_INSTALL_PREFIX} " will result with error in packing stage on windows and worse on MAC files will not be copied/installed (without warning and error !!)
Good: Use bin_dir is ".", it is relative directory
set(bin_dir .)
# Install OpenSSL dynamic lib files
if(SYSTEM_WINDOWS)
install(
FILES
"${OpenSSL_DIR}/out32dll/ssleay32.dll"
"${OpenSSL_DIR}/out32dll/libeay32.dll"
DESTINATION ${bin_dir})
...
2. Package for Linux
Debian package
cmake .. -DCMAKE_BUILD_TYPE=RELEASE -DCPACK_GENERATOR=DEB
cpack
sh ./fixup_deb.sh
RPM package
cmake .. -DCMAKE_BUILD_TYPE=RELEASE -DCPACK_GENERATOR=RPM
cpack
Package for Mac OS X
DMG package
cmake .. -DCMAKE_BUILD_TYPE=RELEASE
cpack
3. Package for Windows
NSIS package
cmake .. -DCMAKE_BUILD_TYPE=RELEASE
cpack