blob: 825b3bf5d2f186910d82912a34d01269c2af431b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# CruUI
[](https://github.com/crupest/cru/actions/workflows/ci.yml)
## overview
_cru_ is a C++ library. The biggest part of it is for UI.
It is **under heavy construction**.
Check the code or fire a issue if you have any problem.
[](https://gitpod.io/#https://github.com/crupest/cru)
## build
_cru_ is built with [_CMake_](https://cmake.org/) and [_vcpkg_](https://github.com/microsoft/vcpkg). You must setup vcpkg first. There are two ways.
1. Set environment variable `VCPKG_INSTALLATION_ROOT` to your vcpkg installation directory.
2. Symlink the vcpkg installation directory to `vcpkg` of project root directory. Or just put real vcpkg there.
Currently I only build _cru_ with **LLVM/Clang**. If you compile with MSVC, you might encounter some problems.
## structure of repository
- `include/` contains public headers.
- `src/` contains the main codes including headers and sources.
- `test/` contains unit tests. Only targets in this directories need `gtest`.
- `demo/` contains sources of demo excutable targets. They are mostly used for integrated tests but can also be used for demonstration.
- `docs` contains docs-related things.
- `tools/` contains some codes of tools I wrote for development. However most of them are not used now.
|