mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 13:04:56 +00:00
Huge shader infrastructure refactor
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
if(NOT CMAKE_CROSSCOMPILING)
|
||||
add_executable(bintoc bintoc.c)
|
||||
macro(bintoc out in sym)
|
||||
function(bintoc out in sym)
|
||||
if(IS_ABSOLUTE ${out})
|
||||
set(theOut ${out})
|
||||
else()
|
||||
@@ -16,7 +16,7 @@ macro(bintoc out in sym)
|
||||
add_custom_command(OUTPUT ${theOut}
|
||||
COMMAND $<TARGET_FILE:bintoc> ARGS ${theIn} ${theOut} ${sym}
|
||||
DEPENDS ${theIn} bintoc)
|
||||
endmacro()
|
||||
endfunction()
|
||||
|
||||
##################
|
||||
# Package Export #
|
||||
|
||||
@@ -8,7 +8,7 @@ if(NOT TARGET bintoc AND NOT bintoc_BINARY_DIR)
|
||||
include("${BINTOC_CMAKE_DIR}/hecl-bintocTargets.cmake")
|
||||
endif()
|
||||
|
||||
macro(bintoc out in sym)
|
||||
function(bintoc out in sym)
|
||||
if(IS_ABSOLUTE ${out})
|
||||
set(theOut ${out})
|
||||
else()
|
||||
@@ -24,4 +24,4 @@ macro(bintoc out in sym)
|
||||
add_custom_command(OUTPUT ${theOut}
|
||||
COMMAND $<TARGET_FILE:bintoc> ARGS ${theIn} ${theOut} ${sym}
|
||||
DEPENDS ${theIn})
|
||||
endmacro()
|
||||
endfunction()
|
||||
|
||||
Reference in New Issue
Block a user