2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-13 04:45:52 +00:00
metaforce/hecl/lib/Backend/CMakeLists.txt
2017-12-05 17:22:31 -10:00

17 lines
270 B
CMake

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