mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-12 16:44:26 +01:00
Merge pull request #4802 from lioncash/bcat
core: Add boxcat sources with target_sources
This commit is contained in:
commit
598ef6b0b3
@ -1,9 +1,3 @@
|
|||||||
if (YUZU_ENABLE_BOXCAT)
|
|
||||||
set(BCAT_BOXCAT_ADDITIONAL_SOURCES hle/service/bcat/backend/boxcat.cpp hle/service/bcat/backend/boxcat.h)
|
|
||||||
else()
|
|
||||||
set(BCAT_BOXCAT_ADDITIONAL_SOURCES)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
add_library(core STATIC
|
add_library(core STATIC
|
||||||
arm/arm_interface.h
|
arm/arm_interface.h
|
||||||
arm/arm_interface.cpp
|
arm/arm_interface.cpp
|
||||||
@ -303,7 +297,6 @@ add_library(core STATIC
|
|||||||
hle/service/audio/hwopus.h
|
hle/service/audio/hwopus.h
|
||||||
hle/service/bcat/backend/backend.cpp
|
hle/service/bcat/backend/backend.cpp
|
||||||
hle/service/bcat/backend/backend.h
|
hle/service/bcat/backend/backend.h
|
||||||
${BCAT_BOXCAT_ADDITIONAL_SOURCES}
|
|
||||||
hle/service/bcat/bcat.cpp
|
hle/service/bcat/bcat.cpp
|
||||||
hle/service/bcat/bcat.h
|
hle/service/bcat/bcat.h
|
||||||
hle/service/bcat/module.cpp
|
hle/service/bcat/module.cpp
|
||||||
@ -608,6 +601,13 @@ add_library(core STATIC
|
|||||||
tools/freezer.h
|
tools/freezer.h
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (YUZU_ENABLE_BOXCAT)
|
||||||
|
target_sources(core PRIVATE
|
||||||
|
hle/service/bcat/backend/boxcat.cpp
|
||||||
|
hle/service/bcat/backend/boxcat.h
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
target_compile_options(core PRIVATE
|
target_compile_options(core PRIVATE
|
||||||
# 'expression' : signed/unsigned mismatch
|
# 'expression' : signed/unsigned mismatch
|
||||||
|
Loading…
Reference in New Issue
Block a user