19 lines
408 B
CMake
19 lines
408 B
CMake
cmake_minimum_required(VERSION 3.10)
|
|
|
|
project(my_libs VERSION 0.1.0)
|
|
|
|
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/exe)
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra")
|
|
set(CMAKE_BUILD_TYPE Debug)
|
|
|
|
set(GLOBAL_DEFINITION
|
|
|
|
)
|
|
|
|
add_definitions(${GLOBAL_DEFINITION})
|
|
|
|
add_subdirectory(utility/unity unity)
|
|
link_libraries(unity)
|
|
|
|
add_subdirectory(test/oled oled)
|
|
add_subdirectory(test/cmd_parser cmd_parser) |