2019-05-10 21:09:30 +00:00
|
|
|
# DynuIPRefresher
|
|
|
|
|
2019-05-11 09:16:59 +00:00
|
|
|
## Build
|
2019-05-11 10:18:24 +00:00
|
|
|
## Basic Build
|
2019-10-26 09:00:57 +00:00
|
|
|
### Download source files
|
2019-05-11 09:16:59 +00:00
|
|
|
|
2019-05-10 21:11:01 +00:00
|
|
|
`git clone https://github.com/Lukas-Heiligenbrunner/DynuIPRefresher.git`
|
2019-05-10 21:14:25 +00:00
|
|
|
|
2019-10-26 09:00:57 +00:00
|
|
|
### install build dependencies
|
|
|
|
|
|
|
|
`libcurl`
|
|
|
|
`libcurl-devel`
|
|
|
|
|
|
|
|
Debian:
|
|
|
|
`apt install libcurl4-openssl-dev`
|
|
|
|
|
|
|
|
Fedora:
|
|
|
|
`dnf install libcurl-devel`
|
|
|
|
|
2019-10-26 09:03:11 +00:00
|
|
|
#### dependencies for package build
|
|
|
|
`dpkg` --> debian/ubuntu package
|
|
|
|
|
|
|
|
`rpmbuild` --> Fedora/RedHat/CentOS package
|
|
|
|
|
2019-10-26 09:00:57 +00:00
|
|
|
### cmake project
|
2019-05-11 09:16:59 +00:00
|
|
|
cd into downloaded files and Generate makefiles:
|
|
|
|
|
2019-10-26 08:57:32 +00:00
|
|
|
`cmake -S . -B build`
|
2019-05-11 09:16:59 +00:00
|
|
|
|
2019-10-26 09:00:57 +00:00
|
|
|
### compile project
|
2019-05-11 09:16:59 +00:00
|
|
|
|
|
|
|
`make`
|
|
|
|
|
2019-10-26 08:57:32 +00:00
|
|
|
[root] install it to the system
|
2019-05-11 09:16:59 +00:00
|
|
|
|
|
|
|
`make install`
|
|
|
|
|
2019-10-26 08:57:32 +00:00
|
|
|
[root] or create Linux packages
|
2019-05-10 21:09:30 +00:00
|
|
|
|
2019-10-26 08:57:32 +00:00
|
|
|
`make package`
|
2019-05-10 21:09:30 +00:00
|
|
|
|
2019-05-10 21:14:25 +00:00
|
|
|
|
2019-05-11 10:23:57 +00:00
|
|
|
|
|
|
|
### Windows cross build
|
|
|
|
TODO!
|