diff options
author | crupest <crupest@outlook.com> | 2022-01-25 00:25:16 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-01-25 00:25:16 +0800 |
commit | 000e289d06342aaf2c4b0b8cd264401aba1ba3b5 (patch) | |
tree | 29f95e5c394652e9d883847ae3952e350f2c75cf | |
parent | 6b34acefdbf82e3bcc5d3a103ecb2118ae05b81e (diff) | |
download | cru-000e289d06342aaf2c4b0b8cd264401aba1ba3b5.tar.gz cru-000e289d06342aaf2c4b0b8cd264401aba1ba3b5.tar.bz2 cru-000e289d06342aaf2c4b0b8cd264401aba1ba3b5.zip |
...
-rw-r--r-- | README.md | 18 |
1 files changed, 8 insertions, 10 deletions
@@ -6,19 +6,21 @@ _cru_ is a C++ library. The biggest part of it is for UI. -It is **under construction**. It can be built with _CMake_. +It is **under heavy construction**. -After I changed to macOS, Windows feature is left behind now. +Check the code or fire a issue if you have any problem. [](https://gitpod.io/#https://github.com/crupest/cru) ## build -_cru_ uses [_vcpkg_](https://github.com/microsoft/vcpkg) with _manifests mode_ to manage dependencies. You must setup vcpkg and `VCPKG_INSTALLATION_ROOT` environment variable. +_cru_ is built with [_CMake_](https://cmake.org/) and [_vcpkg_](https://github.com/microsoft/vcpkg). You must setup vcpkg first. There are two ways. -There is also a automatic python script used in CI. Use python3 to run `tool/win_build.py` to build on Windows. Run with `-h` to see options. For convenience to avoid environment setup it uses _Visual Studio_ generator. +1. Set environment variable `VCPKG_INSTALLATION_ROOT` to your vcpkg installation directory. -Check the code or fire a issue if you have any problem. +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 @@ -32,8 +34,4 @@ Check the code or fire a issue if you have any problem. - `docs` contains docs-related things. -- `tools/` contains some codes of tools like code generators. - - - `cppmerge/` contains a _python_ script program that merges all cpp headers and sources into one **single** header and source. **Not use now**. - - - `migrate-1/` contains _python_ scripts that migrate all header and source files into CamelCase. **Not use after migration**. +- `tools/` contains some codes of tools I wrote for development. However most of them are not used now. |