Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikolasan/cpp-by-example
Small C++ snippets playing with core language functionality
https://github.com/mikolasan/cpp-by-example
cpp-course cpp-programming cpp17 cpp20
Last synced: about 2 months ago
JSON representation
Small C++ snippets playing with core language functionality
- Host: GitHub
- URL: https://github.com/mikolasan/cpp-by-example
- Owner: mikolasan
- License: mit
- Created: 2021-11-01T14:44:59.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-11-04T22:47:08.000Z (about 2 months ago)
- Last Synced: 2024-11-04T23:29:22.361Z (about 2 months ago)
- Topics: cpp-course, cpp-programming, cpp17, cpp20
- Language: C++
- Homepage: https://cpp-by-example.netlify.app/
- Size: 12.6 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# C++ by example
[![Netlify Status](https://api.netlify.com/api/v1/badges/73450bc7-9e25-4544-a0e8-79a2dbed6054/deploy-status)](https://app.netlify.com/sites/cpp-by-example/deploys)
Develop, train and test your skills in C++ language
## Dependencies
### LLVM
```
git submodule add https://github.com/llvm/llvm-project.git thirdparty/llvm
git checkout llvmorg-16.0.0
cd thirdparty
cmake -S llvm\llvm -B llvm-build --install-prefix="C:\Users\neupo\develop\cpp-skill\thirdparty\windows\LLVM" -DLLVM_ENABLE_PROJECTS=clang -DLLVM_TARGETS_TO_BUILD=X86 -Thost=x64
cmake --build llvm-build --config Release
cmake --install llvm-build
```### Lua
Add to user environment variables
```
Lua51_ROOT = "C:\\windows\lua"
```## Build
```
cmake -DCMAKE_BUILD_TYPE=Release -S . -B build
cmake --build build --target all
```