add a default tutorial json for dev interface

This commit is contained in:
Stephen Birarda 2018-03-22 17:53:35 -07:00 committed by Seth Alves
parent b52a877d8d
commit 787947b6a8
2 changed files with 27 additions and 15 deletions

View file

@ -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)

View file

@ -0,0 +1,18 @@
{
"Entities": [
{
"type": "Box",
"dimensions": {
"x": 20,
"y": 1,
"z": 20
},
"position" : {
"x": 0,
"y": -12,
"z": 0
}
}
],
"Version": 84
}