if(WIN32) set(PLAT_SRCS HLSL.cpp) endif() if(APPLE) set(PLAT_SRCS Metal.cpp) endif() set(BACKEND_SOURCES GX.cpp ProgrammableCommon.cpp GLSL.cpp ${PLAT_SRCS}) hecl_add_list(Backend BACKEND_SOURCES)