https://github.com/delta/codecharacter-simulator
Simulator For Codecharacter
https://github.com/delta/codecharacter-simulator
Last synced: 5 months ago
JSON representation
Simulator For Codecharacter
- Host: GitHub
- URL: https://github.com/delta/codecharacter-simulator
- Owner: delta
- Created: 2023-12-14T15:17:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-25T04:23:48.000Z (over 2 years ago)
- Last Synced: 2024-03-04T20:53:36.504Z (over 2 years ago)
- Language: C++
- Homepage:
- Size: 141 KB
- Stars: 0
- Watchers: 29
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Instructions
### Dependencies
- clang-format
- Latest C++ compiler(Clang/GCC)
- CMake
- Ninja
- CCache (optional but recommended)
### Setting-Up Instructions
- `pip install -r requirements.txt` to download conan, cmake-format and compdb
- For setting up the build folder, run `bash setup_build.sh`, this will fetch
the dependencies and create a build folder.
### Build Instructions
- `cd build`
- `cmake -G Ninja ..` . We can provide extra build flags while running this.
For example
- to generate release build, run
`cmake -G Ninja -DCMAKE_BUILD_TYPE=Release ..`
- to generate release build without tests and statically, run
` cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_PROJECT=no_tests ..`
- `ninja`
### Building inside Docker
- `make gcc-docker`
- Other steps are same as above