mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-25 14:34:29 +00:00
17 lines
420 B
CMake
17 lines
420 B
CMake
add_library(LaunchAPPLCommon
|
|
Stream.h
|
|
Stream.cc
|
|
ReliableStream.h
|
|
ReliableStream.cc
|
|
CRC32.h
|
|
UnreliableStream.h
|
|
)
|
|
target_include_directories(LaunchAPPLCommon PUBLIC .)
|
|
|
|
add_executable(TestLaunchAPPLCommon Test.cc)
|
|
target_link_libraries(TestLaunchAPPLCommon LaunchAPPLCommon)
|
|
|
|
if(CMAKE_SYSTEM_NAME MATCHES Retro)
|
|
target_compile_options(LaunchAPPLCommon PRIVATE -ffunction-sections -Os)
|
|
endif()
|