Retro68/LaunchAPPL/Common/CMakeLists.txt

17 lines
438 B
CMake
Raw Normal View History

2018-04-20 22:03:29 +00:00
add_library(LaunchAPPLCommon
Stream.h
Stream.cc
ReliableStream.h
ReliableStream.cc
CRC32.h
UnreliableStream.h
2018-04-20 22:03:29 +00:00
)
target_include_directories(LaunchAPPLCommon PUBLIC .)
add_executable(TestLaunchAPPLCommon Test.cc)
target_link_libraries(TestLaunchAPPLCommon LaunchAPPLCommon)
if(CMAKE_SYSTEM_NAME MATCHES Retro68)
#target_compile_options(LaunchAPPLCommon PRIVATE -ffunction-sections -fno-exceptions -Os)
endif()