Skip to content

Commit

Permalink
build: generate Linux installable package.
Browse files Browse the repository at this point in the history
  • Loading branch information
aleflm committed Feb 11, 2025
1 parent 5b8f35f commit d62a490
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -778,3 +778,9 @@ endif()

# We want all build properties to be encapsulated properly.
include(WarnAboutGlobalProperties)

# Generate archive files
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Firo client software")
set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README.md")
set(CPACK_VERBATIM_VARIABLES YES)
include(CPack)
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,15 @@ See [doc/build-windows.md](doc/build-windows.md) for instructions on building on

Now that you have your self-built or precompiled binaries, it's time to run Firo! Depending by your skill level and/or setup, you might want to use the command line tool or the graphic user interface. If you have problems or need support, [contact the community](https://firo.org/community/social/).

# Install Firo

After building with `CMake`, generate `.sh` file with `make package`. Once you run `make package` you should have `./FiroCore-VERSION_MAJOR.VERSION_MINOR.VERSION_REVISION-Linux.sh` in your build directory.

For example, you can install `Firo` on your `/usr/bin` with:
```
./FiroCore-0.14.14-Linux.sh --prefix=/usr/bin --exclude-subdir
```

# Contributors

## Code Contributors
Expand Down

0 comments on commit d62a490

Please sign in to comment.