vcpkg.json
Create avcpkg.json manifest in your project root:
Required Dependencies
ReXGlue requires:- fmt - String formatting (used by generated code)
- spdlog - Logging (optional but recommended)
CMakeLists.txt
Minimal CMake configuration for a recompiled project:Build System Integration
Using vcpkg Toolchain
Configure CMake with the vcpkg toolchain:Output Directory Structure
The recompiler generates files into the directory specified byout_directory_path in your TOML config:
Platform-Specific Settings
Windows (MSVC)
Linux/macOS (GCC/Clang)
Compiler Requirements
- C++20 or later required
- MSVC 2022+, GCC 11+, or Clang 14+
- 64-bit host architecture
Next Steps
- Codegen Config - Configure the recompiler
- Functions - Define custom function boundaries