warfactoryracine/tools/cmake/EngineConfig.cmake.in
StillHammer f6c3b3430d Add comprehensive IDataTree configuration system
- Create modular IDataNode interface with tree navigation, pattern matching, and typed access
- Implement IDataTree container with manual hot-reload capabilities
- Add DataTreeFactory for flexible data source management
- Support hierarchical data with per-node blobs and children
- Enable pattern matching search (*wildcards) across entire subtrees
- Provide type-safe property access (getString, getInt, getBool, getDouble)
- Include hash system for validation and synchronization (getDataHash, getTreeHash)
- Add property-based queries with lambda predicates for gameplay data filtering
- Fix window positioning system to eliminate UI overlaps
- Enforce explicit type declarations (ban auto keyword) in CLAUDE.md coding standards

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-27 10:42:35 +08:00

37 lines
1.2 KiB
CMake

# EngineConfig.cmake.in
# Template pour la configuration d'export des engines Warfactory
@PACKAGE_INIT@
# Warfactory Engine Configuration
# Generated automatically by CMake
include(CMakeFindDependencyMacro)
# Dependencies required by this engine
find_dependency(nlohmann_json 3.11.0)
find_dependency(spdlog 1.12.0)
# Redis++ might be optional depending on engine
find_dependency(redis-plus-plus QUIET)
if(NOT redis-plus-plus_FOUND)
message(STATUS "Redis++ not found, inter-engine communication disabled")
endif()
# Include targets file
include("${CMAKE_CURRENT_LIST_DIR}/@target_name@Targets.cmake")
# Verify that all targets were created
check_required_components(@target_name@)
# Set convenience variables
set(@target_name@_LIBRARIES Warfactory::@target_name@-lib)
set(@target_name@_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR}/include")
# Version information
set(@target_name@_VERSION_MAJOR 1)
set(@target_name@_VERSION_MINOR 0)
set(@target_name@_VERSION_PATCH 0)
set(@target_name@_VERSION "${@target_name@_VERSION_MAJOR}.${@target_name@_VERSION_MINOR}.${@target_name@_VERSION_PATCH}")
message(STATUS "Found Warfactory Engine: @target_name@ v${@target_name@_VERSION}")