In phase 5
This commit is contained in:
@@ -51,6 +51,13 @@ foreach(VEHICLE_FILE ${VEHICLES_GEN_SRC})
|
||||
list(APPEND VEHICLE_OUTPUT_FILES ${VEHICLE_OUTPUT_FILE} ${CMAKE_BINARY_DIR}/resources/vehicles/${FILE_NAME}.scene ${VEHICLE_JSON_FILE})
|
||||
endforeach()
|
||||
|
||||
# Shared merged-material vehicle shader (one ID-map material per car;
|
||||
# gen_vehicle.py writes the per-car .material referencing these
|
||||
# programs; see vehicles/CAR_MODELING.md). Staged next to the
|
||||
# generated .material files.
|
||||
file(COPY vehicle_idmap.vert vehicle_idmap.frag vehicle_idmap.program
|
||||
DESTINATION ${CMAKE_BINARY_DIR}/resources/vehicles)
|
||||
|
||||
add_custom_target(import_vehicles ALL DEPENDS ${VEHICLE_OUTPUT_FILES})
|
||||
|
||||
# One-step vehicle refresh: re-export changed .blend files (import_vehicles),
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user