Initial commint
prepare cmake files include unity fo testing
This commit is contained in:
17
test/oled/CMakeLists.txt
Normal file
17
test/oled/CMakeLists.txt
Normal file
@@ -0,0 +1,17 @@
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
|
||||
set(TEST_NAME oled)
|
||||
|
||||
set(INCLUDE_DIRS
|
||||
../../oled
|
||||
helpers/inc
|
||||
)
|
||||
|
||||
set(SRCS
|
||||
|
||||
)
|
||||
|
||||
add_definitions(-DTEST)
|
||||
add_executable(${TEST_NAME} ${SRCS})
|
||||
|
||||
target_include_directories(${TEST_NAME} PUBLIC ${INCLUDE_DIR})
|
||||
Reference in New Issue
Block a user