mirror of
https://github.com/boostorg/msm.git
synced 2026-07-21 13:23:45 +00:00
2d87fa9145
First version of the backmp11 backend. Contains: - favor_runtime_speed policy that mainly replaces MPL with Mp11 - favor_compile_time that uses a new mechanism with dispatch tables per state
46 lines
1.2 KiB
CMake
46 lines
1.2 KiB
CMake
# Generated by `boostdep --cmake msm`
|
|
# Copyright 2020 Peter Dimov
|
|
# Distributed under the Boost Software License, Version 1.0.
|
|
# https://www.boost.org/LICENSE_1_0.txt
|
|
|
|
cmake_minimum_required(VERSION 3.5...3.16)
|
|
|
|
project(boost_msm VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
|
|
# Temporary settings for development, need to be cleaned up later.
|
|
# Required for testing puml frontend
|
|
# set(CMAKE_CXX_STANDARD 20)
|
|
# Required due to bug in clang19
|
|
# add_compile_options("-Wno-missing-template-arg-list-after-template-kw")
|
|
# add_compile_options("-ftime-trace")
|
|
|
|
add_library(boost_msm INTERFACE)
|
|
add_library(Boost::msm ALIAS boost_msm)
|
|
|
|
target_include_directories(boost_msm INTERFACE include)
|
|
|
|
target_link_libraries(boost_msm
|
|
INTERFACE
|
|
Boost::any
|
|
Boost::assert
|
|
Boost::bind
|
|
Boost::circular_buffer
|
|
Boost::config
|
|
Boost::core
|
|
Boost::function
|
|
Boost::fusion
|
|
Boost::mpl
|
|
Boost::parameter
|
|
Boost::phoenix
|
|
Boost::preprocessor
|
|
Boost::proto
|
|
Boost::serialization
|
|
Boost::tuple
|
|
Boost::type_traits
|
|
Boost::typeof
|
|
)
|
|
|
|
if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
|
|
enable_testing()
|
|
add_subdirectory(test)
|
|
endif()
|