mirror of
https://github.com/JulianGro/overte.git
synced 2025-05-04 20:12:37 +02:00
add a default tutorial json for dev interface
This commit is contained in:
parent
b52a877d8d
commit
787947b6a8
2 changed files with 27 additions and 15 deletions
|
@ -344,6 +344,9 @@ else()
|
|||
COMMAND "${CMAKE_COMMAND}" -E copy_directory
|
||||
"${CMAKE_SOURCE_DIR}/scripts"
|
||||
"${RESOURCES_DEV_DIR}/scripts"
|
||||
COMMAND "${CMAKE_COMMAND}" -E copy_if_different
|
||||
"${PROJECT_SOURCE_DIR}/resources/serverless/tutorial.json"
|
||||
"$<TARGET_FILE_DIR:${TARGET_NAME}>/resources/serverless/tutorial.json"
|
||||
)
|
||||
|
||||
# link target to external libraries
|
||||
|
@ -388,15 +391,6 @@ if (DOWNLOAD_SERVERLESS_CONTENT)
|
|||
"${SOURCE_DIR}/serverless/"
|
||||
"${RESOURCES_DEV_DIR}/serverless"
|
||||
)
|
||||
|
||||
# for installs, put the serverless content in the resources folder beside the executable
|
||||
if (RESOURCES_INSTALL_DIR)
|
||||
install(
|
||||
DIRECTORY "${SOURCE_DIR}/serverless"
|
||||
DESTINATION "${RESOURCES_INSTALL_DIR}"
|
||||
COMPONENT ${CLIENT_COMPONENT}
|
||||
)
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
if (WIN32)
|
||||
|
|
18
interface/resources/serverless/tutorial.json
Normal file
18
interface/resources/serverless/tutorial.json
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"Entities": [
|
||||
{
|
||||
"type": "Box",
|
||||
"dimensions": {
|
||||
"x": 20,
|
||||
"y": 1,
|
||||
"z": 20
|
||||
},
|
||||
"position" : {
|
||||
"x": 0,
|
||||
"y": -12,
|
||||
"z": 0
|
||||
}
|
||||
}
|
||||
],
|
||||
"Version": 84
|
||||
}
|
Loading…
Reference in a new issue