Skip to content

Commit eb73392

Browse files
committed
CMake: Remove trailing whitespace from CMakeLists.txt
1 parent aeaac0e commit eb73392

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

CMakeLists.txt

+8-8
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ endif()
1313
project(mbed-os)
1414

1515
# Add all paths to the list files within Mbed OS
16-
list(APPEND CMAKE_MODULE_PATH
16+
list(APPEND CMAKE_MODULE_PATH
1717
"${mbed-os_SOURCE_DIR}/platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_TFM/TARGET_TFM_LATEST/scripts;${mbed-os_SOURCE_DIR}/targets/TARGET_Cypress/scripts;${mbed-os_SOURCE_DIR}/targets/TARGET_NXP/scripts"
1818
)
1919

2020
option(BUILD_TESTING "Run unit tests only." OFF)
2121

2222
if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING)
23-
include(CTest)
23+
include(CTest)
2424
add_subdirectory(UNITTESTS)
2525
endif()
2626

@@ -68,19 +68,19 @@ if(${CMAKE_CROSSCOMPILING})
6868
"Invalid printf library type '${MBED_PRINTF_LIB}'. Possible values:\n ${MBED_PRINTF_LIB_TYPES}"
6969
)
7070
endif()
71-
71+
7272
mbed_set_cpu_core_definitions(mbed-core)
7373
if(${MBED_TOOLCHAIN_FILE_USED})
7474
mbed_set_profile_options(mbed-core ${MBED_TOOLCHAIN})
7575
mbed_set_c_lib(mbed-core ${MBED_C_LIB})
7676
mbed_set_printf_lib(mbed-core ${MBED_PRINTF_LIB})
77-
77+
7878
target_compile_features(mbed-core
7979
INTERFACE
8080
c_std_11
8181
cxx_std_14
8282
)
83-
83+
8484
endif()
8585

8686
target_compile_definitions(mbed-core
@@ -98,7 +98,7 @@ if(${CMAKE_CROSSCOMPILING})
9898
endif()
9999

100100
# We need to generate a "response file" to pass to the C preprocessor when we preprocess the linker
101-
# script, because of path le ngth limitations on Windows. We set the response file and bind the path
101+
# script, because of path length limitations on Windows. We set the response file and bind the path
102102
# to a global property here. The MBED_TARGET being built queries this global property when it sets
103103
# the linker script.
104104
#
@@ -110,7 +110,7 @@ if(${CMAKE_CROSSCOMPILING})
110110
# using response files or global properties.
111111
mbed_generate_options_for_linker(mbed-core RESPONSE_FILE_PATH)
112112
set_property(GLOBAL PROPERTY COMPILE_DEFS_RESPONSE_FILE ${RESPONSE_FILE_PATH})
113-
113+
114114
# Add compile definitions for backward compatibility with the toolchain
115115
# supported. New source files should instead check for __GNUC__ and __clang__
116116
# for the GCC_ARM and ARM toolchains respectively.
@@ -164,7 +164,7 @@ if(${CMAKE_CROSSCOMPILING})
164164
string(TOLOWER ${MBED_TARGET} MBED_TARGET_CONVERTED)
165165
string(REPLACE "_" "-" MBED_TARGET_CONVERTED ${MBED_TARGET_CONVERTED})
166166
string(PREPEND MBED_TARGET_CONVERTED "mbed-")
167-
167+
168168
target_link_libraries(mbed-core INTERFACE ${MBED_TARGET_CONVERTED})
169169
endif()
170170

0 commit comments

Comments
 (0)