|
|
@ -44,22 +44,22 @@ if(APPLE)
|
|
|
|
SET(MACOSX_BUNDLE_BUNDLE_VERSION "1.0")
|
|
|
|
SET(MACOSX_BUNDLE_BUNDLE_VERSION "1.0")
|
|
|
|
SET(MACOSX_BUNDLE_COPYRIGHT "Winchgate and The Ryzom Core Community")
|
|
|
|
SET(MACOSX_BUNDLE_COPYRIGHT "Winchgate and The Ryzom Core Community")
|
|
|
|
|
|
|
|
|
|
|
|
ADD_EXECUTABLE(client MACOSX_BUNDLE ${SRC})
|
|
|
|
ADD_EXECUTABLE(ryzom_client MACOSX_BUNDLE ${SRC})
|
|
|
|
|
|
|
|
|
|
|
|
# TODO: in release mode, cmake could copy all the dylibs into the .app
|
|
|
|
# TODO: in release mode, cmake could copy all the dylibs into the .app
|
|
|
|
# bundle for redistribution... should some part of cpack handle that?
|
|
|
|
# bundle for redistribution... should some part of cpack handle that?
|
|
|
|
# ADD_CUSTOM_COMMAND(TARGET client POST_BUILD
|
|
|
|
# ADD_CUSTOM_COMMAND(TARGET ryzom_client POST_BUILD
|
|
|
|
# # make frameworks directory in app bundle
|
|
|
|
# # make frameworks directory in app bundle
|
|
|
|
# COMMAND ${CMAKE_COMMAND} -E make_directory
|
|
|
|
# COMMAND ${CMAKE_COMMAND} -E make_directory
|
|
|
|
# ${CMAKE_CURRENT_BINARY_DIR}/client.app/Contents/Frameworks
|
|
|
|
# ${CMAKE_CURRENT_BINARY_DIR}/ryzom_client.app/Contents/Frameworks
|
|
|
|
# # copy framework into app bundle
|
|
|
|
# # copy framework into app bundle
|
|
|
|
# COMMAND ${CMAKE_COMMAND} -E copy ${SOME_LIBRARY}
|
|
|
|
# COMMAND ${CMAKE_COMMAND} -E copy ${SOME_LIBRARY}
|
|
|
|
# ${CMAKE_CURRENT_BINARY_DIR}/client.app/Contents/Frameworks
|
|
|
|
# ${CMAKE_CURRENT_BINARY_DIR}/ryzom_client.app/Contents/Frameworks
|
|
|
|
# # ...
|
|
|
|
# # ...
|
|
|
|
# # install_name_tool the lib pathes
|
|
|
|
# # install_name_tool the lib pathes
|
|
|
|
|
|
|
|
|
|
|
|
ELSE(APPLE)
|
|
|
|
ELSE(APPLE)
|
|
|
|
ADD_EXECUTABLE(client ${SRC})
|
|
|
|
ADD_EXECUTABLE(ryzom_client ${SRC})
|
|
|
|
ENDIF(APPLE)
|
|
|
|
ENDIF(APPLE)
|
|
|
|
|
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(
|
|
|
|
INCLUDE_DIRECTORIES(
|
|
|
@ -70,10 +70,10 @@ INCLUDE_DIRECTORIES(
|
|
|
|
${CURL_INCLUDE_DIRS}
|
|
|
|
${CURL_INCLUDE_DIRS}
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
|
|
|
|
|
|
|
|
TARGET_LINK_LIBRARIES(client ${PLATFORM_LINKFLAGS}
|
|
|
|
TARGET_LINK_LIBRARIES(ryzom_client ${PLATFORM_LINKFLAGS}
|
|
|
|
${LIBXML2_LIBRARIES}
|
|
|
|
${LIBXML2_LIBRARIES}
|
|
|
|
${NELMISC_LIBRARY}
|
|
|
|
${NELMISC_LIBRARY}
|
|
|
|
game_share
|
|
|
|
ryzom_gameshare
|
|
|
|
${NELNET_LIBRARY}
|
|
|
|
${NELNET_LIBRARY}
|
|
|
|
${NELLIGO_LIBRARY}
|
|
|
|
${NELLIGO_LIBRARY}
|
|
|
|
${NELGEORGES_LIBRARY}
|
|
|
|
${NELGEORGES_LIBRARY}
|
|
|
@ -82,18 +82,17 @@ TARGET_LINK_LIBRARIES(client ${PLATFORM_LINKFLAGS}
|
|
|
|
${CURL_LIBRARIES}
|
|
|
|
${CURL_LIBRARIES}
|
|
|
|
${NELSOUND_LIBRARY}
|
|
|
|
${NELSOUND_LIBRARY}
|
|
|
|
${NELSNDDRV_LIBRARY}
|
|
|
|
${NELSNDDRV_LIBRARY}
|
|
|
|
client_sheets
|
|
|
|
ryzom_clientsheets
|
|
|
|
${NELPACS_LIBRARY}
|
|
|
|
${NELPACS_LIBRARY}
|
|
|
|
${LIBWWW_LIBRARY}
|
|
|
|
${LIBWWW_LIBRARY}
|
|
|
|
${Boost_LIBRARIES}
|
|
|
|
ryzom_sevenzip
|
|
|
|
seven_zip
|
|
|
|
|
|
|
|
luabind # TODO: find luabind and expat cleanly using a find script
|
|
|
|
luabind # TODO: find luabind and expat cleanly using a find script
|
|
|
|
expat)
|
|
|
|
expat)
|
|
|
|
|
|
|
|
|
|
|
|
IF(NOT WITH_COCOA)
|
|
|
|
IF(NOT WITH_COCOA)
|
|
|
|
TARGET_LINK_LIBRARIES(client ${X11_LIBRARIES})
|
|
|
|
TARGET_LINK_LIBRARIES(ryzom_client ${X11_LIBRARIES})
|
|
|
|
ENDIF(NOT WITH_COCOA)
|
|
|
|
ENDIF(NOT WITH_COCOA)
|
|
|
|
|
|
|
|
|
|
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
|
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
|
|
|
|
|
|
|
|
|
|
|
INSTALL(TARGETS client RUNTIME DESTINATION bin COMPONENT client BUNDLE DESTINATION /Applications)
|
|
|
|
INSTALL(TARGETS ryzom_client RUNTIME DESTINATION bin COMPONENT client BUNDLE DESTINATION /Applications)
|
|
|
|