Better git and compile options

This commit is contained in:
Màrius Montón 2022-09-15 12:49:12 +02:00
parent ab2d5139c2
commit a1098ad81f
No known key found for this signature in database
GPG Key ID: FA199E7A752699F0
2 changed files with 5 additions and 0 deletions

4
.gitignore vendored
View File

@ -45,3 +45,7 @@ doc/Drawings.odg
doc/html doc/html
env.sh env.sh
gh-md-toc gh-md-toc
*.dump
*.log
.idea/
.vscode/

View File

@ -15,6 +15,7 @@ set(CMAKE_C_STANDARD 17)
set(CMAKE_CXX_EXTENSIONS OFF) set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_PREFIX_PATH ../systemc-2.3.3/build/ ../spdlog/install/) set(CMAKE_PREFIX_PATH ../systemc-2.3.3/build/ ../spdlog/install/)
add_definitions(-DCMAKE_EXPORT_COMPILE_COMMANDS=ON)
add_compile_options(-O3 -g -Wall -Wextra -Wunused-function -Wpedantic) add_compile_options(-O3 -g -Wall -Wextra -Wunused-function -Wpedantic)