config, packaging and bump projects

This commit is contained in:
faumaray committed 2026-02-03 05:08:20 +03:00
1 parent 3de1e02790
commit 0179f869a3
8 files changed
+189 -6

No files matched your search

+46
View File
@@ -126,6 +126,51 @@ public:
};
```
## Packaging and Distribution
### Using CPack
The project includes CPack configuration for creating installers:
```bash
cd build
# Create tarball
cpack -G TGZ
# Create DEB package (Debian/Ubuntu)
cpack -G DEB
# Create RPM package (Fedora/RHEL)
cpack -G RPM
# Create ZIP (Windows)
cpack -G ZIP
# Create NSIS installer (Windows)
cpack -G NSIS
```
### Static Linking
For a standalone distribution without external dependencies:
```bash
cmake .. -DECHOION_STATIC_LINK=ON
cmake --build .
```
Note: Some dependencies (Qt6, FFmpeg) may still require bundling. See `packaging/README.md` for detailed instructions.
### CMake Package Support
The project uses [PackageProject.cmake](https://github.com/TheLartians/PackageProject.cmake) to export CMake targets:
```cmake
find_package(EchoionCore REQUIRED)
target_link_libraries(myapp PRIVATE Echoion::Core)
```
## License
MIT License - See LICENSE file for details
@@ -135,3 +180,4 @@ MIT License - See LICENSE file for details
- TeamSpeak Systems GmbH for the TeamSpeak SDK
- FFmpeg team for audio decoding
- Glaze library for JSON handling
- PackageProject.cmake for CMake packaging