2022-02-25 11:34:42 +01:00
|
|
|
cmake_minimum_required(VERSION 3.0.0)
|
|
|
|
project(reboot-logic VERSION 0.1.0)
|
|
|
|
|
|
|
|
include(CTest)
|
|
|
|
enable_testing()
|
|
|
|
|
|
|
|
add_executable(reboot-logic main.cpp)
|
|
|
|
|
2022-02-28 14:13:31 +01:00
|
|
|
target_sources(reboot-logic PRIVATE
|
|
|
|
main.cpp
|
|
|
|
CoreController.cpp
|
|
|
|
SdCardManager.cpp
|
|
|
|
event.cpp
|
|
|
|
libxiphos.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
target_include_directories(reboot-logic PRIVATE
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
)
|
|
|
|
|
2022-02-25 11:34:42 +01:00
|
|
|
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
|
|
|
|
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
|
|
|
|
include(CPack)
|