22 lines
639 B
CMake
22 lines
639 B
CMake
|
cmake_minimum_required(VERSION 3.5)
|
||
|
|
||
|
project(SmartLockerTools VERSION 0.1 LANGUAGES C CXX)
|
||
|
|
||
|
set(CMAKE_CXX_STANDARD 17)
|
||
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||
|
|
||
|
set(Projects_ROOT E:/Projects)
|
||
|
set(Libraries_ROOT ${Projects_ROOT}/Libraries)
|
||
|
|
||
|
set(BOOST_ROOT ${Libraries_ROOT}/boost_1_85_0_msvc2022_64bit)
|
||
|
set(Boost_INCLUDE_DIR ${BOOST_ROOT}/include/boost-1_85)
|
||
|
option(Boost_USE_STATIC_LIBS OFF)
|
||
|
add_compile_definitions(
|
||
|
BOOST_USE_WINAPI_VERSION=BOOST_WINAPI_VERSION_WIN10
|
||
|
)
|
||
|
|
||
|
add_subdirectory(${Projects_ROOT}/Kylin/Universal Universal)
|
||
|
add_subdirectory(${Projects_ROOT}/Kylin/Encrypt Encrypt)
|
||
|
|
||
|
add_subdirectory(OtaUpdate)
|