This commit is contained in:
Martin Brodbeck 2023-01-05 10:04:12 +01:00
parent f7fdf4a94e
commit 874ceb93b6

View file

@ -14,7 +14,7 @@ add_executable(${CMAKE_PROJECT_NAME} ${SOURCES})
pico_set_program_name(${CMAKE_PROJECT_NAME} "abfall") pico_set_program_name(${CMAKE_PROJECT_NAME} "abfall")
pico_set_program_version(${CMAKE_PROJECT_NAME} ${PROJECT_VERSION}) pico_set_program_version(${CMAKE_PROJECT_NAME} ${PROJECT_VERSION})
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-volatile") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-volatile")
target_compile_definitions(${CMAKE_PROJECT_NAME} PRIVATE target_compile_definitions(${CMAKE_PROJECT_NAME} PRIVATE
# If the debug configuration pass the DEBUG define to the compiler # If the debug configuration pass the DEBUG define to the compiler