diff options
author | Siddarth Suresh <155843085+SiddarthSuresh98@users.noreply.github.com> | 2025-03-01 20:52:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-01 20:52:15 -0500 |
commit | ac072708e869970f33f3523dda3051a39a9ba611 (patch) | |
tree | ecadb88ef81a84dddae4060f7ebae8c10ced3c31 | |
parent | a20aac0c4d5b2910e5102e0c0dd832978997cfb8 (diff) | |
parent | a81e74ecfc73e27cceba863b8c780ebde51a8d47 (diff) |
Merge pull request #1 from bdunahu/bdunahu
Updated README, ccls local setup
-rw-r--r-- | .clang-format | 11 | ||||
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | README.md | 13 |
4 files changed, 24 insertions, 4 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..39ed432 --- /dev/null +++ b/.clang-format @@ -0,0 +1,11 @@ +--- +Language: Cpp +AlignAfterOpenBracket: AlwaysBreak +AllowAllParametersOfDeclarationOnNextLine: true +BinPackParameters: false +BreakBeforeBraces: Linux +PointerAlignment: Right +ColumnLimit: 80 +IndentWidth: 4 +TabWidth: 4 +UseTab: Always
\ No newline at end of file @@ -1,6 +1,8 @@ # IDE /.dir-locals.el /manifest.scm +/.ccls-cache +/compile_commands.json # generated __pycache__ diff --git a/CMakeLists.txt b/CMakeLists.txt index 2029ba0..e36b290 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.5) project(risc_vector) -#set(CMAKE_EXPORT_COMPILE_COMMANDS ON) +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) # cpp standard set(CMAKE_CXX_STANDARD 17) @@ -1,12 +1,19 @@ # Risc V[ECTOR] +## dependencies +- cmake +- g++ (GCC) 11.4.0 +- python 3.10 or newer +- catch2 version 3.5.3 + ## to compile Generate the build directory with + `cmake -S . -B build` -then -`cmake --build build` -## to test +then compile both the simulator and tests with + +`cmake --build build` # about |