Skip to content
Snippets Groups Projects
Commit d9d3d864 authored by Paul Oppenheim's avatar Paul Oppenheim
Browse files

adding the fabled "server" and "viewer" targets everyone has been wishing for....

adding the fabled "server" and "viewer" targets everyone has been wishing for. Reviewed by cg. not for a jira.
parent 4642d220
No related branches found
No related tags found
No related merge requests found
...@@ -45,25 +45,32 @@ if (WINDOWS AND EXISTS ${LIBS_CLOSED_DIR}copy_win_scripts) ...@@ -45,25 +45,32 @@ if (WINDOWS AND EXISTS ${LIBS_CLOSED_DIR}copy_win_scripts)
add_subdirectory(${LIBS_CLOSED_PREFIX}copy_win_scripts) add_subdirectory(${LIBS_CLOSED_PREFIX}copy_win_scripts)
endif (WINDOWS AND EXISTS ${LIBS_CLOSED_DIR}copy_win_scripts) endif (WINDOWS AND EXISTS ${LIBS_CLOSED_DIR}copy_win_scripts)
add_custom_target(viewer)
if (VIEWER) if (VIEWER)
add_subdirectory(${LIBS_OPEN_PREFIX}llcrashlogger) add_subdirectory(${LIBS_OPEN_PREFIX}llcrashlogger)
add_subdirectory(${LIBS_OPEN_PREFIX}llui) add_subdirectory(${LIBS_OPEN_PREFIX}llui)
if (LINUX) if (LINUX)
add_subdirectory(${VIEWER_PREFIX}linux_crash_logger) add_subdirectory(${VIEWER_PREFIX}linux_crash_logger)
add_dependencies(viewer linux-crash-logger)
elseif (DARWIN) elseif (DARWIN)
add_subdirectory(${VIEWER_PREFIX}mac_crash_logger) add_subdirectory(${VIEWER_PREFIX}mac_crash_logger)
add_subdirectory(${VIEWER_PREFIX}mac_updater) add_subdirectory(${VIEWER_PREFIX}mac_updater)
add_dependencies(viewer mac-updater mac-crash-logger)
elseif (WINDOWS) elseif (WINDOWS)
add_subdirectory(${VIEWER_PREFIX}win_crash_logger) add_subdirectory(${VIEWER_PREFIX}win_crash_logger)
add_subdirectory(${VIEWER_PREFIX}win_updater) add_subdirectory(${VIEWER_PREFIX}win_updater)
add_dependencies(viewer windows-updater windows-crash-logger)
elseif (SOLARIS) elseif (SOLARIS)
add_subdirectory(solaris_crash_logger) add_subdirectory(solaris_crash_logger)
add_dependencies(viewer solaris-crash-logger)
endif (LINUX) endif (LINUX)
add_subdirectory(${VIEWER_PREFIX}newview) add_subdirectory(${VIEWER_PREFIX}newview)
add_dependencies(viewer secondlife-bin)
endif (VIEWER) endif (VIEWER)
add_custom_target(server)
if (SERVER) if (SERVER)
include(${SERVER_PREFIX}Server.cmake) include(${SERVER_PREFIX}Server.cmake)
endif (SERVER) endif (SERVER)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment