all repos — mgba @ 2251d939386d3ff90606e77bd43753e94886f4b0

mGBA Game Boy Advance Emulator

CMake: Install cinema with tests
Vicki Pfau vi@endrift.com
Thu, 03 Sep 2020 17:18:28 -0700
commit

2251d939386d3ff90606e77bd43753e94886f4b0

parent

c825c57281734bddefa16c05ec9d61a387029cf5

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/platform/test/CMakeLists.txtsrc/platform/test/CMakeLists.txt

@@ -44,4 +44,5 @@ add_executable(${BINARY_NAME}-cinema ${CMAKE_CURRENT_SOURCE_DIR}/cinema-main.c)

target_link_libraries(${BINARY_NAME}-cinema ${BINARY_NAME} ${PLATFORM_LIBRARY}) set_target_properties(${BINARY_NAME}-cinema PROPERTIES COMPILE_DEFINITIONS "${OS_DEFINES};${FEATURE_DEFINES};${FUNCTION_DEFINES}") add_test(cinema ${BINARY_NAME}-cinema -v) + install(TARGETS ${BINARY_NAME}-cinema DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT ${BINARY_NAME}-test) endif()