cmake_minimum_required(VERSION 3.20)
project(mag_render_fixture CXX)
include("${CMAKE_CURRENT_SOURCE_DIR}/cmake/MagRender.cmake")
add_executable(fixture main.cpp)
mag_enable_render_frontend(fixture)
if(MAG_RENDER_FRONTEND_RUST)
    target_compile_definitions(fixture PRIVATE FIXTURE_RENDER_ENABLED=1)
endif()
file(WRITE "${CMAKE_BINARY_DIR}/receipt-extra.txt" "${MAG_RENDER_RECEIPT_EXTRA}")
