mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-10-23 23:55:42 +00:00
25 lines
545 B
CMake
25 lines
545 B
CMake
set(SRCS
|
|
audio_stream.cpp
|
|
audio_stream.h
|
|
bitfield.h
|
|
cd_image.cpp
|
|
cd_image.h
|
|
cd_xa.cpp
|
|
cd_xa.h
|
|
gl_program.cpp
|
|
gl_program.h
|
|
gl_texture.cpp
|
|
gl_texture.h
|
|
jit_code_buffer.cpp
|
|
jit_code_buffer.h
|
|
state_wrapper.cpp
|
|
state_wrapper.h
|
|
types.h
|
|
)
|
|
|
|
add_library(common ${SRCS})
|
|
|
|
target_include_directories(common PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/..")
|
|
target_include_directories(common PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/..")
|
|
target_link_libraries(common YBaseLib glad libcue Threads::Threads)
|