Skip to content

Commit 1f87e83

Browse files
committed
cmake installation support
1 parent e97e4f7 commit 1f87e83

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.DS_Store

0 Bytes
Binary file not shown.

CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,10 @@ add_library(arduino-audio-tools INTERFACE)
77

88
# make include directory available to calling projects
99
target_include_directories (arduino-audio-tools INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/src)
10+
11+
# installation of all header files
12+
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/src/" # source directory
13+
DESTINATION "include/arduino-audio-tools" # target directory
14+
FILES_MATCHING # install only matched files
15+
PATTERN "*.h" # select header files
16+
)

examples/.DS_Store

-8 KB
Binary file not shown.

0 commit comments

Comments
 (0)