Skip to content

Commit

Permalink
The absolute bare minimum to be a working codal library
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnVidler committed Feb 5, 2023
1 parent 763ef41 commit 8a23cb5
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
17 changes: 17 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
include("${CODAL_UTILS_LOCATION}")

RECURSIVE_FIND_DIR(INCLUDE_DIRS "./inc" "*.h")
RECURSIVE_FIND_FILE(SOURCE_FILES "./source" "*.c??")

include_directories(${INCLUDE_DIRS})

add_library(codal-library-template
${SOURCE_FILES}
)

target_link_libraries(
codal-library-template
codal-core
)

target_include_directories(codal-library-template PUBLIC ${INCLUDE_DIRS})
1 change: 1 addition & 0 deletions inc/_blank.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Included so git creates this path :)
1 change: 1 addition & 0 deletions source/_blank.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Included so git creates this path :)

0 comments on commit 8a23cb5

Please sign in to comment.