- CMake >= 3.10
- Qt >= 5.9.5 + QtQuick and QtQuick Controls
- Boost >= 1.65
- Windows: MSVC 14 (Microsoft Visual Studio Express for Dekstop 2015)
For development
- clang-format
- clang-tidy
run install.sh script
git clone git@github.com:kost13/cars_evolution.git
or
git clone https://github.com/kost13/cars_evolution
cd cars_evolution
git submodule update --init
a) run build.sh from scripts
b) run the following commands
mkdir build && cd build
cmake ../ -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=<QT_PATH>
cmake --build . --target all
Source code is formated using clang-format.
Static code analysis is done using clang-tidy:
cppcoreguidelines, boost, google, misc, modernize, performance, readability.
Description: https://clang.llvm.org/extra/clang-tidy/#using-clang-tidy
Consistent with https://google.github.io/styleguide/cppguide.html exceptions:
- methods and functions start with lowercase
- files names - upper camel case