forked from MikroElektronika/mikrosdk_click_v2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add example folder to SWI EEPROM click with lowercase name.
- Loading branch information
1 parent
917caf9
commit e428360
Showing
3 changed files
with
480 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ########################### | ||
|
Oops, something went wrong.