plan_execute/CMakeLists.txt

28 lines
782 B
CMake
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

cmake_minimum_required(VERSION 3.14)
project(todo_manager VERSION 1.0.0 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
if (MSVC)
add_compile_options(/utf-8)
endif()
# ============================================================
# 主程序
# ============================================================
add_executable(todo_manager
src/main.cpp
src/app.cpp
)
target_include_directories(todo_manager PRIVATE include)
# ============================================================
# 测试可执行文件(使用标准 assert无需外部依赖
# ============================================================
add_executable(basic_test
tests/basic_test.cpp
src/app.cpp
)
target_include_directories(basic_test PRIVATE include)