Some fixes for the build setup:
* Fix wrong lookup path for nghttp2.lib on Windows * Fix missing details in output of configure_firestorm.sh script * Fix circular link dependency in LLWindow, causing CMake CMP0038 warning; viewer now builds with CMake 3.13.4 upwards (64bit CMake as well)master
parent
4026107f47
commit
b95fcdf3b3
|
|
@ -9,7 +9,9 @@ else (USESYSTEMLIBS)
|
|||
use_prebuilt_binary(nghttp2)
|
||||
if (WINDOWS)
|
||||
set(NGHTTP2_LIBRARIES
|
||||
${ARCH_PREBUILT_DIRS_RELEASE}/nghttp2.lib
|
||||
# <FS:Ansariel> ARCH_PREBUILT_DIRS_RELEASE is "." and would cause searching for the lib in the wrong place when not using VS
|
||||
#${ARCH_PREBUILT_DIRS_RELEASE}/nghttp2.lib
|
||||
nghttp2.lib
|
||||
)
|
||||
elseif (DARWIN)
|
||||
set(NGHTTP2_LIBRARIES libnghttp2.dylib)
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ if (LINUX)
|
|||
${LLMATH_LIBRARIES}
|
||||
${LLRENDER_LIBRARIES}
|
||||
${LLVFS_LIBRARIES}
|
||||
${LLWINDOW_LIBRARIES}
|
||||
#${LLWINDOW_LIBRARIES} # <FS:Ansariel> Don't link to itself - causes CMP0038
|
||||
${LLXML_LIBRARIES}
|
||||
${UI_LIBRARIES} # for GTK
|
||||
${SDL_LIBRARY}
|
||||
|
|
@ -187,11 +187,6 @@ endif (llwindow_HEADER_FILES)
|
|||
|
||||
list(APPEND viewer_SOURCE_FILES ${viewer_HEADER_FILES})
|
||||
|
||||
#<FS:TS> Turn off complaint about library linking to itself in Cmake 3
|
||||
if(POLICY CMP0038)
|
||||
cmake_policy(SET CMP0038 OLD)
|
||||
endif(POLICY CMP0038)
|
||||
|
||||
add_library (llwindow
|
||||
${llwindow_SOURCE_FILES}
|
||||
${viewer_SOURCE_FILES}
|
||||
|
|
|
|||
|
|
@ -65,8 +65,8 @@ showUsage()
|
|||
echo " --config : Generate a new architecture-specific config"
|
||||
echo " --build : Build Firestorm"
|
||||
echo " --version : Update version number"
|
||||
echo " --chan [Release|Beta|Private] : Private is the default, sets channel"
|
||||
echo " --btype [Release|RelWithDebInfo] : Release is default, whether to use symbols"
|
||||
echo " --chan [Release|Beta|Private] : Private is the default, sets channel"
|
||||
echo " --btype [Release|RelWithDebInfo|Debug] : Release is default, whether to use symbols"
|
||||
echo " --kdu : Build with KDU"
|
||||
echo " --package : Build installer"
|
||||
echo " --no-package : Build without installer (Overrides --package)"
|
||||
|
|
@ -81,6 +81,7 @@ showUsage()
|
|||
echo " --testbuild <days> : Create time-limited test build (build date + <days>)"
|
||||
echo " --platform <platform> : Build for specified platform (darwin | windows | linux)"
|
||||
echo " --jobs <num> : Build with <num> jobs in parallel (Linux and Darwin only)"
|
||||
echo " --ninja : Build using Ninja (Linux only)"
|
||||
echo
|
||||
echo "All arguments not in the above list will be passed through to LL's configure/build."
|
||||
echo
|
||||
|
|
|
|||
Loading…
Reference in New Issue