cmake_minimum_required(VERSION 3.16)
project(BattlefieldMissionPlanner VERSION 1.0.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()

# 主程序
add_executable(bmp_main
    src/main.cpp
    src/app.cpp
)
target_include_directories(bmp_main PRIVATE include)

# 测试程序
add_executable(bmp_test
    tests/basic_test.cpp
    src/app.cpp
)
target_include_directories(bmp_test PRIVATE include)
