mirror of
https://github.com/deskflow/deskflow.git
synced 2026-07-07 21:07:23 +08:00
* Add `BUILD.md` file * Improve wording * Add note about broken packages * Reorg package instructions * Reorg package instructions (macOS first) * Correct broken to outdated * Fixed formatting * Sync info with README * Improve wording around development of the code * Fixed typo * Update ChangeLog
51 lines
864 B
Markdown
51 lines
864 B
Markdown
# Build Synergy
|
|
|
|
## Developer Quick Start
|
|
|
|
Synergy 1 Community Edition is free and open source software, and anyone is welcome to build it,
|
|
run it, tinker with it, redistribute it as part of their own app, etc.
|
|
|
|
These instructions will build Synergy 1 Community Edition, which doesn't require a license
|
|
or serial key. Check the [Developer Guide](https://github.com/symless/synergy/wiki/Developer-Guide)
|
|
wiki page if you have problems.
|
|
|
|
**1. Dependencies:**
|
|
|
|
*Linux, macOS, or BSD-derived:*
|
|
```
|
|
./scripts/install_deps.sh
|
|
```
|
|
|
|
*Windows:*
|
|
```
|
|
python scripts/install_deps.py
|
|
```
|
|
|
|
**2. Configure:**
|
|
|
|
*Linux, macOS, or BSD-derived:*
|
|
```
|
|
cmake -B build
|
|
```
|
|
|
|
*Windows:*
|
|
```
|
|
cmake -B build --preset=windows-release
|
|
```
|
|
|
|
**3. Build:**
|
|
```
|
|
cmake --build build -j8
|
|
```
|
|
|
|
**4. Test:**
|
|
```
|
|
./build/bin/unittests
|
|
./build/bin/integtests
|
|
```
|
|
|
|
**5. Run**
|
|
```
|
|
./build/bin/synergy
|
|
```
|