1 set(SOURCES RenderSystem.cpp)
3 set(HEADERS RenderSystem.h
6 if(TARGET ${APP_NAME_LC}::OpenGl OR TARGET ${APP_NAME_LC}::OpenGLES)
7 list(APPEND SOURCES MatrixGL.cpp)
8 list(APPEND HEADERS MatrixGL.h)
10 if(ARCH MATCHES arm AND ENABLE_NEON)
11 list(APPEND SOURCES MatrixGL.neon.cpp)
12 if(NOT DEFINED NEON_FLAGS)
13 set_source_files_properties(MatrixGL.neon.cpp PROPERTIES COMPILE_OPTIONS -mfpu=neon)
18 core_add_library(rendering)
19 if(NOT CORE_SYSTEM_NAME STREQUAL windows AND NOT CORE_SYSTEM_NAME STREQUAL windowsstore)
21 target_compile_options(${CORE_LIBRARY} PRIVATE -msse)
24 target_compile_options(${CORE_LIBRARY} PRIVATE -msse2)