summaryrefslogtreecommitdiff
path: root/indra/CMakeLists.txt
diff options
context:
space:
mode:
authorPaul Oppenheim <poppy@lindenlab.com>2008-06-23 23:46:53 +0000
committerPaul Oppenheim <poppy@lindenlab.com>2008-06-23 23:46:53 +0000
commitd9d3d8646b45b993db1d87f587d7085d057edb60 (patch)
treeec841f9dc5b761a9d5f08ccb6bd883d08fb69ec1 /indra/CMakeLists.txt
parent4642d22071bb4a03070ab5f966a3b575d570dcd1 (diff)
adding the fabled "server" and "viewer" targets everyone has been wishing for. Reviewed by cg. not for a jira.
Diffstat (limited to 'indra/CMakeLists.txt')
-rw-r--r--indra/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/CMakeLists.txt b/indra/CMakeLists.txt
index dbc9436dcf..3e6bcb00e6 100644
--- a/indra/CMakeLists.txt
+++ b/indra/CMakeLists.txt
@@ -45,25 +45,32 @@ if (WINDOWS AND EXISTS ${LIBS_CLOSED_DIR}copy_win_scripts)
add_subdirectory(${LIBS_CLOSED_PREFIX}copy_win_scripts)
endif (WINDOWS AND EXISTS ${LIBS_CLOSED_DIR}copy_win_scripts)
+add_custom_target(viewer)
if (VIEWER)
add_subdirectory(${LIBS_OPEN_PREFIX}llcrashlogger)
add_subdirectory(${LIBS_OPEN_PREFIX}llui)
if (LINUX)
add_subdirectory(${VIEWER_PREFIX}linux_crash_logger)
+ add_dependencies(viewer linux-crash-logger)
elseif (DARWIN)
add_subdirectory(${VIEWER_PREFIX}mac_crash_logger)
add_subdirectory(${VIEWER_PREFIX}mac_updater)
+ add_dependencies(viewer mac-updater mac-crash-logger)
elseif (WINDOWS)
add_subdirectory(${VIEWER_PREFIX}win_crash_logger)
add_subdirectory(${VIEWER_PREFIX}win_updater)
+ add_dependencies(viewer windows-updater windows-crash-logger)
elseif (SOLARIS)
add_subdirectory(solaris_crash_logger)
+ add_dependencies(viewer solaris-crash-logger)
endif (LINUX)
add_subdirectory(${VIEWER_PREFIX}newview)
+ add_dependencies(viewer secondlife-bin)
endif (VIEWER)
+add_custom_target(server)
if (SERVER)
include(${SERVER_PREFIX}Server.cmake)
endif (SERVER)