mirror of
https://github.com/eddyem/eddys_snippets.git
synced 2026-03-22 01:31:16 +03:00
create library and make two examples of usage
This commit is contained in:
8
I2Csensors/examples/CMakeLists.txt
Normal file
8
I2Csensors/examples/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
cmake_minimum_required(VERSION 3.9)
|
||||
|
||||
include_directories(..)
|
||||
link_libraries(i2csensorsPTH usefull_macros -lm)
|
||||
|
||||
add_executable(single single_sensor.c)
|
||||
add_executable(log logmany.c)
|
||||
#target_link_libraries(single i2csensorsPTH usefull_macros)
|
||||
Reference in New Issue
Block a user