✅ 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>
25 lines
640 B
C++
25 lines
640 B
C++
#include <iostream>
|
|
#include "factory/FactoryEngine.h"
|
|
|
|
using namespace Warfactory::Factory;
|
|
|
|
int main(int /*argc*/, char* /*argv*/[]) {
|
|
std::cout << "Starting Factory Engine..." << std::endl;
|
|
|
|
auto engine = std::make_unique<FactoryEngine>();
|
|
|
|
if (!engine->initialize()) {
|
|
std::cerr << "Failed to initialize Factory Engine" << std::endl;
|
|
return 1;
|
|
}
|
|
|
|
std::cout << "Factory Engine initialized successfully" << std::endl;
|
|
|
|
// Run the autonomous engine
|
|
engine->run();
|
|
|
|
engine->shutdown();
|
|
std::cout << "Factory Engine shutdown complete" << std::endl;
|
|
|
|
return 0;
|
|
} |