About to refator tools... again
This commit is contained in:
1 parent
3ce1566a2e
commit
4541d5219b
14 files changed
+468
-43
No files matched your search
@@ -4,7 +4,10 @@
|
||||
# https://opensource.org/licenses/MIT
|
||||
|
||||
# Function that adds an asset to be compiled
|
||||
function(add_asset ASSET_PATH)
|
||||
function(add_asset ASSET_TYPE ASSET_PATH)
|
||||
message(STATUS "Adding asset: ${ASSET_PATH} (type: ${ASSET_TYPE})")
|
||||
message(STATUS " Options: ${ARGN}")
|
||||
|
||||
set(FULL_ASSET_PATH "${CMAKE_CURRENT_LIST_DIR}/${ASSET_PATH}")
|
||||
list(APPEND DUSK_ASSETS ${FULL_ASSET_PATH})
|
||||
set(DUSK_ASSETS ${DUSK_ASSETS} CACHE INTERNAL ${DUSK_CACHE_TARGET})
|
||||
|
||||
Reference in new issue
Block a user