2
0
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:
Jack Andersen
2018-10-06 16:53:57 -10:00
parent 170ff23843
commit 0ee18025dd
35 changed files with 2976 additions and 2309 deletions

View File

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

View File

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