✅ All 10 engines now build successfully: - Designer, Economy, Event, Factory, Intelligence - Logistic, MacroEntity, Map, Operation, War 🚀 Features implemented: - FAST_BUILD vs FULL_BUILD presets for efficient development - Comprehensive defensive programming (sanitizers, contracts) - 16 C++ libraries integrated via FetchContent - GCC-compatible configuration with stack protection - Unified CMake system across all engines 🛠️ Build commands: - Fast: cmake -DFAST_BUILD=ON .. && make claude-workflow-fast - Full: cmake .. && make (all sanitizers + validation) - Single engine: make economy-engine 🔧 Development workflow optimized for daily iteration. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
28 lines
624 B
CMake
28 lines
624 B
CMake
cmake_minimum_required(VERSION 3.20)
|
|
project(EventEngine LANGUAGES CXX)
|
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
|
|
# Include directories
|
|
include_directories(include)
|
|
|
|
# Source files
|
|
file(GLOB_RECURSE SOURCES
|
|
"src/*.cpp"
|
|
"src/*.h"
|
|
"include/*.h"
|
|
"include/*.hpp"
|
|
)
|
|
|
|
# Create executable
|
|
add_executable(event-engine ${SOURCES})
|
|
|
|
# Set output directory
|
|
set_target_properties(event-engine PROPERTIES
|
|
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
|
|
)
|
|
|
|
# Apply unified Warfactory defensive programming (adapts to FAST_BUILD)
|
|
warfactory_add_defenses(event-engine)
|