metaforce/hecl/lib/Backend/CMakeLists.txt

13 lines
216 B
CMake

if(WIN32)
set(PLAT_SRCS HLSL.cpp)
endif()
if(APPLE)
set(PLAT_SRCS Metal.cpp)
endif()
add_library(hecl-backend
GX.cpp
ProgrammableCommon.cpp
GLSL.cpp
${PLAT_SRCS})