2018-04-23 19:32:43 +00:00
|
|
|
add_application(LaunchAPPLServer
|
|
|
|
LaunchAPPLServer.r
|
|
|
|
LaunchAPPLServer.cc
|
2018-04-22 23:11:56 +00:00
|
|
|
MacSerialStream.h
|
2018-04-27 00:06:54 +00:00
|
|
|
MacSerialStream.cc
|
|
|
|
AppLauncher.h
|
|
|
|
AppLauncher.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()
|