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-22 23:11:56 +00:00
|
|
|
MacSerialStream.h
|
2018-04-27 00:06:54 +00:00
|
|
|
MacSerialStream.cc
|
|
|
|
AppLauncher.h
|
2018-05-05 22:56:48 +00:00
|
|
|
AppLauncher.cc
|
2018-05-06 16:49:43 +00:00
|
|
|
ToolLauncher.cc
|
|
|
|
StatusDisplay.h
|
|
|
|
StatusDisplay.cc
|
|
|
|
)
|
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
|
|
|
|
)
|
2018-05-01 19:17:39 +00:00
|
|
|
target_compile_options(LaunchAPPLServer PRIVATE -ffunction-sections -fno-exceptions -Os)
|
|
|
|
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()
|