File tree 2 files changed +9
-8
lines changed
2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ cmake_minimum_required(VERSION 2.8)
12
12
#====================================================================#
13
13
# Setup Project #
14
14
#====================================================================#
15
- project (ArduinoExample C CXX)
15
+ project (ArduinoExample C CXX ASM )
16
16
17
17
print_board_list()
18
18
print_programmer_list()
Original file line number Diff line number Diff line change @@ -15,21 +15,22 @@ function(find_sources VAR_NAME LIB_PATH RECURSE)
15
15
set (FILE_SEARCH_LIST
16
16
${LIB_PATH} /*.cpp
17
17
${LIB_PATH} /*.c
18
- ${LIB_PATH} /*.s
19
- ${LIB_PATH} /*.S
20
18
${LIB_PATH} /*.cc
21
19
${LIB_PATH} /*.cxx
22
20
${LIB_PATH} /*.h
23
21
${LIB_PATH} /*.hh
24
- ${LIB_PATH} /*.hxx)
22
+ ${LIB_PATH} /*.hxx
23
+ ${LIB_PATH} /*.[sS]
24
+ )
25
25
26
26
if (RECURSE)
27
- file (GLOB_RECURSE LIB_FILES ${FILE_SEARCH_LIST} )
27
+ file (GLOB_RECURSE SOURCE_FILES ${FILE_SEARCH_LIST} )
28
28
else ()
29
- file (GLOB LIB_FILES ${FILE_SEARCH_LIST} )
29
+ file (GLOB SOURCE_FILES ${FILE_SEARCH_LIST} )
30
30
endif ()
31
31
32
- if (LIB_FILES )
33
- set (${VAR_NAME} ${LIB_FILES } PARENT_SCOPE)
32
+ if (SOURCE_FILES )
33
+ set (${VAR_NAME} ${SOURCE_FILES } PARENT_SCOPE)
34
34
endif ()
35
35
endfunction ()
36
+
You can’t perform that action at this time.
0 commit comments