2018-05-14 21:58:11 +00:00
|
|
|
set(CONNECTION_SOURCES)
|
|
|
|
|
|
|
|
if(CMAKE_SYSTEM_NAME MATCHES RetroCarbon)
|
|
|
|
else()
|
|
|
|
list(APPEND CONNECTION_SOURCES
|
|
|
|
SerialConnectionProvider.h
|
|
|
|
SerialConnectionProvider.cc
|
|
|
|
MacSerialStream.h
|
|
|
|
MacSerialStream.cc
|
|
|
|
|
|
|
|
MacTCPStream.h
|
|
|
|
MacTCPStream.cc
|
|
|
|
TCPConnectionProvider.h
|
|
|
|
TCPConnectionProvider.cc
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2018-05-16 00:04:18 +00:00
|
|
|
if(CMAKE_SYSTEM_NAME MATCHES Retro68)
|
|
|
|
else()
|
|
|
|
list(APPEND CONNECTION_SOURCES
|
|
|
|
OpenTptStream.h
|
|
|
|
OpenTptStream.cc
|
|
|
|
OpenTptConnectionProvider.h
|
|
|
|
OpenTptConnectionProvider.cc
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2018-05-14 21:58:11 +00:00
|
|
|
|
2018-04-23 19:32:43 +00:00
|
|
|
add_application(LaunchAPPLServer
|
2018-05-06 00:02:29 +00:00
|
|
|
TYPE "APPL"
|
|
|
|
CREATOR "R68L"
|
|
|
|
|
2018-04-23 19:32:43 +00:00
|
|
|
LaunchAPPLServer.r
|
2018-05-06 00:02:29 +00:00
|
|
|
LauncherIcon.r
|
2018-04-23 19:32:43 +00:00
|
|
|
LaunchAPPLServer.cc
|
2018-04-27 00:06:54 +00:00
|
|
|
AppLauncher.h
|
2018-05-05 22:56:48 +00:00
|
|
|
AppLauncher.cc
|
2018-05-06 16:49:43 +00:00
|
|
|
ToolLauncher.cc
|
2018-05-19 12:55:27 +00:00
|
|
|
Window.h
|
2018-05-06 16:49:43 +00:00
|
|
|
StatusDisplay.h
|
|
|
|
StatusDisplay.cc
|
2018-05-19 12:55:27 +00:00
|
|
|
AboutBox.h
|
|
|
|
AboutBox.cc
|
2018-05-08 07:43:02 +00:00
|
|
|
ConnectionProvider.h
|
2018-05-14 21:58:11 +00:00
|
|
|
CarbonFileCompat.h
|
2018-05-09 21:16:45 +00:00
|
|
|
|
2018-05-14 21:58:11 +00:00
|
|
|
${CONNECTION_SOURCES}
|
2018-05-06 16:49:43 +00:00
|
|
|
)
|
2018-04-22 23:11:56 +00:00
|
|
|
|
2018-04-20 22:03:29 +00:00
|
|
|
target_link_libraries(LaunchAPPLServer LaunchAPPLCommon)
|
2018-04-26 23:36:33 +00:00
|
|
|
set_target_properties(LaunchAPPLServer PROPERTIES
|
|
|
|
CXX_STANDARD 17
|
|
|
|
)
|
2019-01-04 02:35:32 +00:00
|
|
|
target_compile_options(LaunchAPPLServer PRIVATE -ffunction-sections -Os)
|
2018-05-01 19:17:39 +00:00
|
|
|
if(CMAKE_SYSTEM_NAME MATCHES Retro68)
|
|
|
|
set_target_properties(LaunchAPPLServer PROPERTIES
|
|
|
|
LINK_FLAGS "-Wl,-gc-sections -Wl,--mac-segments -Wl,${CMAKE_CURRENT_SOURCE_DIR}/LaunchAPPLServer.segmap"
|
|
|
|
)
|
|
|
|
else()
|
|
|
|
set_target_properties(LaunchAPPLServer PROPERTIES
|
|
|
|
LINK_FLAGS "-Wl,-gc-sections"
|
|
|
|
)
|
|
|
|
endif()
|
2018-05-16 00:04:18 +00:00
|
|
|
|
|
|
|
if(CMAKE_SYSTEM_NAME MATCHES RetroPPC)
|
|
|
|
target_link_libraries(LaunchAPPLServer -lOpenTransportAppPPC -lOpenTransportLib -lOpenTptInternetLib )
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(FALSE)
|
|
|
|
add_application(tcptest
|
|
|
|
CONSOLE
|
|
|
|
|
|
|
|
|
|
|
|
tcptest.cc
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(tcptest LaunchAPPLCommon)
|
|
|
|
set_target_properties(tcptest PROPERTIES
|
|
|
|
CXX_STANDARD 17
|
|
|
|
LINK_FLAGS "-Wl,-gc-sections"
|
|
|
|
)
|
|
|
|
|
|
|
|
endif()
|