mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-06 12:48:35 +01:00
Vendor the maj0sted track layout library and link it into the editor
Drop-in copy of C:\Users\maj00r\Projects\maj0sted-master minus its web/ directory - the WASM frontend is not being ported, the editor drives the same C++ API natively. What is left is plain C++20 with no dependencies: domain model (niweleta, plan and profile geometry, fitting, parallelism), project serialization, rail sampling and the editor document. src/web/ribbon.cpp was missing from the library source list; added, since without it the ribbon symbols never make it into the archive.
This commit is contained in:
@@ -516,6 +516,11 @@ add_subdirectory(ref/json)
|
||||
target_link_libraries(${PROJECT_NAME} nlohmann_json::nlohmann_json)
|
||||
target_include_directories(${PROJECT_NAME} PRIVATE ${NLOHMANN_JSON_INCLUDE_INSTALL_DIR})
|
||||
|
||||
# track layout domain model used by the editor; plain C++20, no dependencies of its own
|
||||
add_subdirectory(maj0sted)
|
||||
set_target_properties(maj0sted PROPERTIES FOLDER "libraries")
|
||||
target_link_libraries(${PROJECT_NAME} maj0sted::maj0sted)
|
||||
|
||||
|
||||
|
||||
if (WITH_DISCORD_RPC)
|
||||
|
||||
Reference in New Issue
Block a user