You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
779 B
30 lines
779 B
7 months ago
|
if (APPLE)
|
||
|
set(apigen-codec-common-platform-sources)
|
||
|
elseif (WIN32)
|
||
|
set(apigen-codec-common-platform-sources)
|
||
|
else()
|
||
|
set(apigen-codec-common-platform-sources X11Support.cpp)
|
||
|
endif()
|
||
|
|
||
|
add_library(
|
||
|
apigen-codec-common
|
||
|
ChecksumCalculator.cpp
|
||
|
ChecksumCalculatorThreadInfo.cpp
|
||
|
glUtils.cpp
|
||
|
${apigen-codec-common-platform-sources})
|
||
|
if (NOT MSVC)
|
||
|
target_compile_options(
|
||
|
apigen-codec-common PRIVATE -fvisibility=hidden)
|
||
|
endif()
|
||
|
target_link_libraries(
|
||
|
apigen-codec-common
|
||
|
PUBLIC
|
||
|
gfxstream-host-common gfxstream-base)
|
||
|
target_include_directories(
|
||
|
apigen-codec-common
|
||
|
PUBLIC
|
||
|
${GFXSTREAM_REPO_ROOT}/stream-servers/apigen-codec-common
|
||
|
PRIVATE
|
||
|
${GFXSTREAM_REPO_ROOT}/stream-servers
|
||
|
${GFXSTREAM_REPO_ROOT}/include)
|