task_auto_execute_plan/CMakeLists.txt

34 lines
1.0 KiB
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(FZKJ VERSION 1.6.0 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# ============================================================
# MSVC UTF-8 编译选项(中文显示支持)
# ============================================================
if (MSVC)
add_compile_options(/utf-8)
endif()
# ============================================================
# 头文件路径
# ============================================================
include_directories(${CMAKE_SOURCE_DIR}/include)
# ============================================================
# 主程序可执行文件
# ============================================================
add_executable(fzkj_app
src/main.cpp
src/app.cpp
)
# ============================================================
# 测试可执行文件(使用标准库 assert
# ============================================================
add_executable(fzkj_test
tests/basic_test.cpp
src/app.cpp
)