Skip to content

Commit

Permalink
Add example folder to SWI EEPROM click with lowercase name.
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanFilipovic15 committed Jun 22, 2023
1 parent 917caf9 commit e428360
Show file tree
Hide file tree
Showing 3 changed files with 480 additions and 0 deletions.
28 changes: 28 additions & 0 deletions clicks/swieeprom/example/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
cmake_minimum_required(VERSION 3.21)
if (${TOOLCHAIN_LANGUAGE} MATCHES "MikroC")
project(example_swieeprom LANGUAGES MikroC)
else()
project(example_swieeprom LANGUAGES C ASM)
endif()

if (NOT PROJECT_TYPE)
set(PROJECT_TYPE "mikrosdk" CACHE STRING "" FORCE)
endif()

add_executable(example_swieeprom
main.c

)


############################ example_swieeprom GENERATED CODE START ###########################
find_package(MikroC.Core REQUIRED)
target_link_libraries(example_swieeprom PUBLIC MikroC.Core)
find_package(MikroSDK.Board REQUIRED)
target_link_libraries(example_swieeprom PUBLIC MikroSDK.Board)
find_package(MikroSDK.Log REQUIRED)
target_link_libraries(example_swieeprom PUBLIC MikroSDK.Log)
add_subdirectory(lib_swieeprom)
target_link_libraries(example_swieeprom PUBLIC Click.SWIEEPROM)
############################ example_swieeprom GENERATED CODE END ###########################

Loading

0 comments on commit e428360

Please sign in to comment.