Snip Variables.cmake
# Switches set here and in 00-Common.cmake must agree with
# https://bitbucket.org/lindenlab/viewer-build-variables/src/tip/variables
# Reading $LL_BUILD is an attempt to directly use those switches.
#message(STATUS "AUTOBUILD_VARIABLES_FILE =
'$ENV{AUTOBUILD_VARIABLES_FILE}'")
#message(STATUS "LL_BUILD_WINDOWS_RELEASE =
'$ENV{LL_BUILD_WINDOWS_RELEASE}'")
#message(STATUS "LL_BUILD_RELEASE = '$ENV{LL_BUILD_RELEASE}'")
set (ENV{LL_BUILD} $ENV{LL_BUILD_WINDOWS_RELEASE})
#message(STATUS "LL_BUILD = '$ENV{LL_BUILD}'")
if ("$ENV{LL_BUILD}" STREQUAL "")
  message(FATAL_ERROR "Environment variable LL_BUILD must be set")
endif ()

Above allows configure to complete, but I would like a better place or
better yet some autobuild involvement to set LL_BUILD based to the chosen
Release, RelWithDebugInfo, Debug build.

Next,
Copyright (C) Microsoft Corporation. All rights reserved.

cl : Command line warning D9002: ignoring unknown option '/OP'
[C:\Users\Bill\P64\viewer64\build-vc120-64\llcommon\llcommon.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/OT'
[C:\Users\Bill\P64\viewer64\build-vc120-64\llcommon\llcommon.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/O:'
[C:\Users\Bill\P64\viewer64\build-vc120-64\llcommon\llcommon.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/OR'
[C:\Users\Bill\P64\viewer64\build-vc120-64\llcommon\llcommon.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/OE'
[C:\Users\Bill\P64\viewer64\build-vc120-64\llcommon\llcommon.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/OF'
[C:\Users\Bill\P64\viewer64\build-vc120-64\llcommon\llcommon.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/SAFESEH:NO'
[C:\Users\Bill\P64\viewer64\build-vc120-64\llcommon\llcommon.vcxproj]
cl : Command line warning D9002: ignoring unknown option
'/NODEFAULTLIB:LIBCMT'
[C:\Users\Bill\P64\viewer64\build-vc120-64\llcommon\llcommon.vcxproj]

No idea where /O* switches are set but appear to be included in every
*.vcxproj.
'/SAFESEH:NO' and '/NODEFAULTLIB:LIBCMT' or link switches that appear here
LL_BUILD_WINDOWS_BASE_SWITCHES="/Zc:wchar_t- /Zi /GR /DEBUG */SAFESEH:NO
/NODEFAULTLIB:LIBCMT*"

These link switches are set in 00-Common.cmake.

Once removed those warning are no longer listed. This in likely a case of
putting link switches in cl without a pass through. I suspect the '/O*'
switches are link switches also, but grep was of no help finding where they
are set.

Good news is the build completed without the crazy errors encountered
earlier.




On Sat, Jan 7, 2017 at 2:17 PM, Nat Goodspeed <n...@lindenlab.com> wrote:

> On Fri, Jan 6, 2017 at 9:23 PM, Nicky Perian <nickyper...@gmail.com>
> wrote:
>
> >>/SAFESEH:NO /NODEFAULTLIB:LIBCMT /DLL_RELEASE=1
> /DLL_RLEASE_FOR_DOWNLOAD=1
> >> /DNDEBUG
> >
> > DLL_RLEASE_FOR_DOWNLOAD=1 is the 'E' missing in RELEASE or was the
> variable
> > name changed?
>
> Thank you for pointing that out!
> https://bitbucket.org/lindenlab/viewer-build-variables/commits/
> a9d6c3061349a14289cffb536320f0aa7bdf472f
>
_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Reply via email to