Compare commits
2
Commits
3d22334be9
...
6972128ad2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6972128ad2 | ||
|
|
c858ef3b1d |
+2
-1
@@ -69,9 +69,10 @@ add_subdirectory("src")
|
|||||||
# ------------------------------------------
|
# ------------------------------------------
|
||||||
# Assets target
|
# Assets target
|
||||||
|
|
||||||
add_custom_target(${ENGINE}-assets ALL
|
add_custom_target(${ENGINE}-assets
|
||||||
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/copy-assets.cmake
|
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/copy-assets.cmake
|
||||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
|
||||||
|
add_dependencies(${ENGINE} ${ENGINE}-assets)
|
||||||
|
|
||||||
# ------------------------------------------
|
# ------------------------------------------
|
||||||
# Examples target
|
# Examples target
|
||||||
|
|||||||
@@ -36,15 +36,5 @@
|
|||||||
"color": [ 1.0, 1.0, 1.0, 1.0 ],
|
"color": [ 1.0, 1.0, 1.0, 1.0 ],
|
||||||
"texture": "assets/gfx/test-inverted.png"
|
"texture": "assets/gfx/test-inverted.png"
|
||||||
}
|
}
|
||||||
],
|
|
||||||
"text": [
|
|
||||||
{
|
|
||||||
"name": "Text",
|
|
||||||
"content": "HelloWorld!",
|
|
||||||
"font": "assets/fnt/dejavu-sans",
|
|
||||||
"font-size": 0,
|
|
||||||
"width": 150,
|
|
||||||
"lines": 3
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user