mirror-chatterino2/BUILDING_WITH_CMAKE.md

25 lines
507 B
Markdown
Raw Normal View History

2021-02-21 14:46:36 +01:00
## TODO
## Build with conan
2021-02-21 14:46:36 +01:00
- Install cmake conan qt
- `cmake -P conan-pkgs/add_conan_pkgs.cmake`
- `mkdir build`
`cd build`
`cmake -DCMAKE_BUILD_TYPE=Release -DUSE_PACKAGE_MANAGER=ON ..`
`make -j`
## Build with cmake meta-build project
2021-02-21 14:46:36 +01:00
- Install cmake qt
- `cd lib`
`cmake -DCMAKE_BUILD_TYPE=Release ..`
`make -j`
2021-02-21 14:46:36 +01:00
- `mkdir build`
`cd build`
`cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_MODULE_PATH=lib/Dependencies_<name of the generator> ..`
`make -j`
2021-02-21 14:46:36 +01:00
## Build manually