mirror of
https://github.com/Vita3K/Vita3K.git
synced 2025-04-02 11:02:10 -04:00
* module: add missing pragma once * cmake/vita3k: delete unused files * vita3k: delete useless semi-colons * vita3k: cleanup headers * audio: add missing override to destructors * vita3k: fix typos * external: disable unused curl targets
29 lines
715 B
CMake
29 lines
715 B
CMake
add_library(
|
|
shader
|
|
STATIC
|
|
src/translator/alu.cpp
|
|
src/translator/ialu.cpp
|
|
src/translator/branch_cond.cpp
|
|
src/translator/data.cpp
|
|
src/translator/special.cpp
|
|
src/translator/illegal.cpp
|
|
src/translator/texture.cpp
|
|
src/translator/utils.cpp
|
|
src/gxp_parser.cpp
|
|
src/usse_disasm.cpp
|
|
src/usse_program_analyzer.cpp
|
|
src/usse_decode_helpers.cpp
|
|
src/usse_translator_entry.cpp
|
|
src/usse_utilities.cpp
|
|
src/spirv_recompiler.cpp
|
|
)
|
|
|
|
target_include_directories(shader PUBLIC include)
|
|
target_link_libraries(shader PUBLIC features gxm util)
|
|
target_link_libraries(shader PRIVATE SPIRV spirv-cross-glsl)
|
|
|
|
# Marshmallow Tracy linking
|
|
if(TRACY_ENABLE_ON_CORE_COMPONENTS)
|
|
target_link_libraries(shader PRIVATE tracy)
|
|
endif()
|
|
|