Better git and compile options
This commit is contained in:
parent
ab2d5139c2
commit
a1098ad81f
|
@ -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/
|
||||||
|
|
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue