Skip to content

Commit

Permalink
Enable optimisation for cmake builds (-O3)
Browse files Browse the repository at this point in the history
  • Loading branch information
mungre committed Jun 11, 2024
1 parent dcbbbde commit 13bb8e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.10)

project(beebasm LANGUAGES CXX)

add_compile_options(-Wall -W -Wcast-qual -Wshadow -Wcast-align -Wold-style-cast -Woverloaded-virtual)
add_compile_options(-Wall -W -Wcast-qual -Wshadow -Wcast-align -Wold-style-cast -Woverloaded-virtual -O3)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
Expand Down

0 comments on commit 13bb8e0

Please sign in to comment.