Size: 1339
Comment:
|
Size: 1398
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 26: | Line 26: |
== Good examples == https://github.com/videolan/x265 |
Creating distribution packages with CMake
CMake can automatically create packages for several distributions (e.g. Redhat/Fedora .rpm, Debian/Ubuntu .deb, etc), though the created packages will lack dependency information. To create these packages, add at the end of CMakeLists.txt:
Modify the variables to create an package with the appropriate name and metadata fields. After building the package, run:
1 make package
Source: Harold Sitter's Checkinstall DEBs done the CMake way...
Good examples
https://github.com/videolan/x265
External links
Create dlls on Windows without declspec() using new CMake export all feature: have CMake already export symbols for DLLs.
Difference between PRIVATE, PUBLIC, and INTERFACE