Retry. Build system fixes for library-library dependencies, ported from skinning-7. OK by CG.
svn merge -r117623:117624 svn+ssh://svn.lindenlab.com/svn/linden/branches/skinning/skinning-7master
parent
5c2fd1e4fe
commit
9b2d9c6e6e
|
|
@ -40,9 +40,4 @@ else (SERVER AND LINUX)
|
|||
set(LLWINDOW_LIBRARIES
|
||||
llwindow
|
||||
)
|
||||
if (WINDOWS)
|
||||
list(APPEND LLWINDOW_LIBRARIES
|
||||
comdlg32
|
||||
)
|
||||
endif (WINDOWS)
|
||||
endif (SERVER AND LINUX)
|
||||
|
|
|
|||
|
|
@ -49,8 +49,11 @@ set_source_files_properties(${llimage_HEADER_FILES}
|
|||
list(APPEND llimage_SOURCE_FILES ${llimage_HEADER_FILES})
|
||||
|
||||
add_library (llimage ${llimage_SOURCE_FILES})
|
||||
target_link_libraries(
|
||||
llimage
|
||||
# Libraries on which this library depends, needed for Linux builds
|
||||
# Sort by high-level to low-level
|
||||
target_link_libraries(llimage
|
||||
llcommon
|
||||
llimagej2coj # *HACK: In theory a noop for KDU builds?
|
||||
${JPEG_LIBRARIES}
|
||||
${PNG_LIBRARIES}
|
||||
${ZLIB_LIBRARIES}
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
project(llrender)
|
||||
|
||||
include(00-Common)
|
||||
include(FindOpenGL)
|
||||
include(FreeType)
|
||||
include(LLCommon)
|
||||
include(LLImage)
|
||||
|
|
@ -89,3 +90,9 @@ else (SERVER AND NOT WINDOWS AND NOT DARWIN)
|
|||
)
|
||||
endif (SERVER AND NOT WINDOWS AND NOT DARWIN)
|
||||
add_library (llrender ${llrender_SOURCE_FILES})
|
||||
# Libraries on which this library depends, needed for Linux builds
|
||||
# Sort by high-level to low-level
|
||||
target_link_libraries(llrender
|
||||
llimage
|
||||
${FREETYPE_LIBRARIES}
|
||||
${OPENGL_LIBRARIES})
|
||||
|
|
|
|||
|
|
@ -141,3 +141,14 @@ set_source_files_properties(${llui_HEADER_FILES}
|
|||
list(APPEND llui_SOURCE_FILES ${llui_HEADER_FILES})
|
||||
|
||||
add_library (llui ${llui_SOURCE_FILES})
|
||||
# Libraries on which this library depends, needed for Linux builds
|
||||
# Sort by high-level to low-level
|
||||
target_link_libraries(llui
|
||||
llrender
|
||||
llwindow
|
||||
llimage
|
||||
llvfs # ugh, just for LLDir
|
||||
llxml
|
||||
llcommon # must be after llimage, llwindow, llrender
|
||||
llmath
|
||||
)
|
||||
|
|
|
|||
|
|
@ -55,6 +55,13 @@ set(viewer_HEADER_FILES
|
|||
llmousehandler.h
|
||||
)
|
||||
|
||||
# Libraries on which this library depends, needed for Linux builds
|
||||
# Sort by high-level to low-level
|
||||
set(llwindow_LINK_LIBRARIES
|
||||
${UI_LIBRARIES} # for GTK
|
||||
${SDL_LIBRARY}
|
||||
)
|
||||
|
||||
if (DARWIN)
|
||||
list(APPEND llwindow_SOURCE_FILES
|
||||
llkeyboardmacosx.cpp
|
||||
|
|
@ -98,6 +105,9 @@ if (WINDOWS)
|
|||
lldxhardware.h
|
||||
llkeyboardwin32.h
|
||||
)
|
||||
list(APPEND llwindow_LINK_LIBRARIES
|
||||
comdlg32 # Common Dialogs for ChooseColor
|
||||
)
|
||||
endif (WINDOWS)
|
||||
|
||||
if (SOLARIS)
|
||||
|
|
@ -133,6 +143,7 @@ if (SERVER AND NOT WINDOWS AND NOT DARWIN)
|
|||
${llwindow_SOURCE_FILES}
|
||||
${server_SOURCE_FILES}
|
||||
)
|
||||
# *TODO: This should probably have target_link_libraries
|
||||
endif (SERVER AND NOT WINDOWS AND NOT DARWIN)
|
||||
|
||||
if (llwindow_HEADER_FILES)
|
||||
|
|
@ -145,4 +156,6 @@ if (VIEWER)
|
|||
${llwindow_SOURCE_FILES}
|
||||
${viewer_SOURCE_FILES}
|
||||
)
|
||||
target_link_libraries (llwindow ${llwindow_LINK_LIBRARIES})
|
||||
endif (VIEWER)
|
||||
|
||||
|
|
|
|||
|
|
@ -35,8 +35,10 @@ set_source_files_properties(${llxml_HEADER_FILES}
|
|||
list(APPEND llxml_SOURCE_FILES ${llxml_HEADER_FILES})
|
||||
|
||||
add_library (llxml ${llxml_SOURCE_FILES})
|
||||
target_link_libraries(
|
||||
llxml
|
||||
# Libraries on which this library depends, needed for Linux builds
|
||||
# Sort by high-level to low-level
|
||||
target_link_libraries( llxml
|
||||
llmath
|
||||
${BOOST_SIGNALS_LIBRARY}
|
||||
${EXPAT_LIBRARIES}
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue