Checkpoint 2: integrate native Editor, MCP, gameplay builds and standalone export

This commit is contained in:
Emil
2026-09-18 03:40:15 +03:00
parent 5c6b24d34d
commit 999686a896
125 changed files with 16086 additions and 1714 deletions
+14
View File
@@ -0,0 +1,14 @@
if(BUILD_TESTING AND TARGET faset_runtime)
foreach(tutorial moving following spawning physics)
set(tutorial_dir "${PROJECT_SOURCE_DIR}/examples/tutorials/${tutorial}")
add_library(faset_tutorial_${tutorial} STATIC "${tutorial_dir}/Gameplay.cpp")
target_include_directories(faset_tutorial_${tutorial} PUBLIC "${tutorial_dir}")
target_link_libraries(faset_tutorial_${tutorial} PUBLIC faset_runtime)
add_executable(faset_tutorial_${tutorial}_tests "${PROJECT_SOURCE_DIR}/tests/runtime_tutorials.cpp")
target_link_libraries(faset_tutorial_${tutorial}_tests PRIVATE faset_tutorial_${tutorial})
target_compile_definitions(faset_tutorial_${tutorial}_tests PRIVATE
FASET_TUTORIAL_NAME="${tutorial}"
FASET_TUTORIAL_SCENE="${tutorial_dir}/scene.json")
add_test(NAME tutorial_${tutorial} COMMAND faset_tutorial_${tutorial}_tests)
endforeach()
endif()