Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
66ecfbb1
Commit
66ecfbb1
authored
14 years ago
by
brad kittenbrink
Browse files
Options
Downloads
Plain Diff
Merge.
parents
69855f9d
2f6073bd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/newview/CMakeLists.txt
+1
-7
1 addition, 7 deletions
indra/newview/CMakeLists.txt
indra/newview/viewer_manifest.py
+18
-21
18 additions, 21 deletions
indra/newview/viewer_manifest.py
with
19 additions
and
28 deletions
indra/newview/CMakeLists.txt
+
1
−
7
View file @
66ecfbb1
...
...
@@ -1433,19 +1433,13 @@ set(PACKAGE ON CACHE BOOL
"Add a package target that builds an installer package."
)
if
(
WINDOWS
)
if
(
MSVC71
)
set
(
release_flags
"/MAP:Release/
${
VIEWER_BINARY_NAME
}
.map /MAPINFO:LINES"
)
else
(
MSVC71
)
set
(
release_flags
"/MAP:Release/
${
VIEWER_BINARY_NAME
}
.map"
)
endif
(
MSVC71
)
set_target_properties
(
${
VIEWER_BINARY_NAME
}
PROPERTIES
# *TODO -reenable this once we get server usage sorted out
#LINK_FLAGS "/debug /NODEFAULTLIB:LIBCMT /SUBSYSTEM:WINDOWS /INCLUDE:\"__tcmalloc\""
LINK_FLAGS
"/debug /NODEFAULTLIB:LIBCMT /SUBSYSTEM:WINDOWS"
LINK_FLAGS_DEBUG
"/NODEFAULTLIB:
\"
LIBCMT;LIBCMTD;MSVCRT
\"
/INCREMENTAL:NO"
LINK_FLAGS_RELEASE
${
release_flags
}
LINK_FLAGS_RELEASE
""
)
if
(
USE_PRECOMPILED_HEADERS
)
set_target_properties
(
...
...
This diff is collapsed.
Click to expand it.
indra/newview/viewer_manifest.py
+
18
−
21
View file @
66ecfbb1
...
...
@@ -174,9 +174,6 @@ def final_exe(self):
return
''
.
join
(
self
.
channel
().
split
())
+
'
.exe
'
def
test_msvcrt_and_copy_action
(
self
,
src
,
dst
):
# Skip this test as of VS2010
return
# This is used to test a dll manifest.
# It is used as a temporary override during the construct method
from
test_win32_manifest
import
test_assembly_binding
...
...
@@ -196,9 +193,6 @@ def test_msvcrt_and_copy_action(self, src, dst):
print
"
Doesn
'
t exist:
"
,
src
def
test_for_no_msvcrt_manifest_and_copy_action
(
self
,
src
,
dst
):
# Skip this test as of VS2010
return
# This is used to test that no manifest for the msvcrt exists.
# It is used as a temporary override during the construct method
from
test_win32_manifest
import
test_assembly_binding
...
...
@@ -225,22 +219,25 @@ def test_for_no_msvcrt_manifest_and_copy_action(self, src, dst):
else
:
print
"
Doesn
'
t exist:
"
,
src
def
enable_crt_manifest_check
(
self
):
if
self
.
is_packaging_viewer
():
WindowsManifest
.
copy_action
=
WindowsManifest
.
test_msvcrt_and_copy_action
### DISABLED MANIFEST CHECKING for vs2010. we may need to reenable this
# shortly. If this hasn't been reenabled by the 2.9 viewer release then it
# should be deleted -brad
#def enable_crt_manifest_check(self):
# if self.is_packaging_viewer():
# WindowsManifest.copy_action = WindowsManifest.test_msvcrt_and_copy_action
def
enable_no_crt_manifest_check
(
self
):
if
self
.
is_packaging_viewer
():
WindowsManifest
.
copy_action
=
WindowsManifest
.
test_for_no_msvcrt_manifest_and_copy_action
#
def enable_no_crt_manifest_check(self):
#
if self.is_packaging_viewer():
#
WindowsManifest.copy_action = WindowsManifest.test_for_no_msvcrt_manifest_and_copy_action
def
disable_manifest_check
(
self
):
if
self
.
is_packaging_viewer
():
del
WindowsManifest
.
copy_action
#
def disable_manifest_check(self):
#
if self.is_packaging_viewer():
#
del WindowsManifest.copy_action
def
construct
(
self
):
super
(
WindowsManifest
,
self
).
construct
()
self
.
enable_crt_manifest_check
()
#
self.enable_crt_manifest_check()
if
self
.
is_packaging_viewer
():
# Find secondlife-bin.exe in the 'configuration' dir, then rename it to the result of final_exe.
...
...
@@ -251,7 +248,7 @@ def construct(self):
'
llplugin
'
,
'
slplugin
'
,
self
.
args
[
'
configuration
'
],
"
slplugin.exe
"
),
"
slplugin.exe
"
)
self
.
disable_manifest_check
()
#
self.disable_manifest_check()
self
.
path
(
src
=
"
../viewer_components/updater/scripts/windows/update_install.bat
"
,
dst
=
"
update_install.bat
"
)
...
...
@@ -259,7 +256,7 @@ def construct(self):
if
self
.
prefix
(
src
=
os
.
path
.
join
(
os
.
pardir
,
'
sharedlibs
'
,
self
.
args
[
'
configuration
'
]),
dst
=
""
):
self
.
enable_crt_manifest_check
()
#
self.enable_crt_manifest_check()
# Get llcommon and deps. If missing assume static linkage and continue.
try
:
...
...
@@ -271,7 +268,7 @@ def construct(self):
print
err
.
message
print
"
Skipping llcommon.dll (assuming llcommon was linked statically)
"
self
.
disable_manifest_check
()
#
self.disable_manifest_check()
# Get fmod dll, continue if missing
try
:
...
...
@@ -326,7 +323,7 @@ def construct(self):
self
.
path
(
"
featuretable.txt
"
)
self
.
path
(
"
featuretable_xp.txt
"
)
self
.
enable_no_crt_manifest_check
()
#
self.enable_no_crt_manifest_check()
# Media plugins - QuickTime
if
self
.
prefix
(
src
=
'
../media_plugins/quicktime/%s
'
%
self
.
args
[
'
configuration
'
],
dst
=
"
llplugin
"
):
...
...
@@ -407,7 +404,7 @@ def construct(self):
self
.
end_prefix
()
self
.
disable_manifest_check
()
#
self.disable_manifest_check()
# pull in the crash logger and updater from other projects
# tag:"crash-logger" here as a cue to the exporter
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment