2018-04-21 00:03:29 +02:00
|
|
|
add_library(LaunchAPPLCommon
|
|
|
|
Stream.h
|
|
|
|
Stream.cc
|
2018-04-22 11:23:08 +02:00
|
|
|
ReliableStream.h
|
|
|
|
ReliableStream.cc
|
|
|
|
CRC32.h
|
2018-04-22 14:07:52 +02:00
|
|
|
UnreliableStream.h
|
2018-04-21 00:03:29 +02:00
|
|
|
)
|
|
|
|
target_include_directories(LaunchAPPLCommon PUBLIC .)
|
2018-04-22 11:23:08 +02:00
|
|
|
|
|
|
|
add_executable(TestLaunchAPPLCommon Test.cc)
|
|
|
|
target_link_libraries(TestLaunchAPPLCommon LaunchAPPLCommon)
|
2018-05-01 21:17:39 +02:00
|
|
|
|
2019-01-04 03:35:32 +01:00
|
|
|
if(CMAKE_SYSTEM_NAME MATCHES Retro)
|
|
|
|
target_compile_options(LaunchAPPLCommon PRIVATE -ffunction-sections -Os)
|
2018-05-01 21:17:39 +02:00
|
|
|
endif()
|