From 3fd283bc1f3c92783d8c66647eeabb59793c5a5b Mon Sep 17 00:00:00 2001 From: Andrew Countryman Date: Sat, 13 Apr 2024 12:20:23 -0700 Subject: [PATCH] Revise CMake formatting (#247) Resolves #246 (Revise CMake formatting). --- CMakeLists.txt | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4912466..e1cd1e6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,15 +22,13 @@ project( avr-libcpp # general configuration -option( - AVRLIBCPP_SUPPRESS_SFR_MACROS +option( AVRLIBCPP_SUPPRESS_SFR_MACROS "avr-libcpp: Suppress SFR macros." OFF ) # CMake modules configuration -list( - APPEND CMAKE_MODULE_PATH +list( APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/modules/cmake-utilities" ) @@ -38,13 +36,12 @@ list( if( PROJECT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR ) set( CMAKE_CXX_STANDARD 17 ) - set( - AVRLIBCPP_MCU + set( AVRLIBCPP_MCU "" CACHE STRING "avr-libcpp: MCU type." ) - set( - AVRLIBCPP_DFP + + set( AVRLIBCPP_DFP "" CACHE STRING "avr-libcpp: DFP submodule name." )