Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USD on Windows for dev_win_ip #24

Merged
merged 104 commits into from Aug 19, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
4066e73
fix URL link - capitalization counts in this one
heckj Jul 27, 2016
330436e
Rebase of the public open-source branch.
Aug 3, 2016
61994ed
Removed some uses of dllexport on classes.
Aug 4, 2016
af3a949
Replace explicit use of missing get_pointer with a macro for easier r…
Aug 4, 2016
40a51bb
Removed omitting PRAGMA.
Aug 4, 2016
e070678
Cleanup Cmake output.
Aug 5, 2016
49a32bf
Use Boost 1.61 for TF_NUM_ARGS and TF_PP_IS_TUPLE.
Aug 5, 2016
1f85746
Move ARCH_COMPILER_HAS_STATIC_ASSERT so its more visable.
Aug 5, 2016
b360bfb
Bare minimal TF_CONSTRUCTOR!
Aug 9, 2016
cdc6930
Registry Manager is now fully functional.
Aug 12, 2016
205cf86
Merge pull request #14 from heckj/patch-1
pixar-oss Aug 12, 2016
eac8a1e
Remove dead function and ArchStatCompare, which was only being used by a
comand Aug 12, 2016
f86f840
Rename functions that conflict with macros defined when building on
comand Aug 15, 2016
dc71e2a
[pxr/base] Update doxygen syntax.
comand Aug 15, 2016
577af95
[Pxr] Update github repository documentation
superfunc Aug 15, 2016
d15a2e8
[Pxr] Fix broken anchors to build documentation. This fixes github
superfunc Aug 15, 2016
d9192f2
[Sdf] Fix missing virtual destructors in list editor hierarchy.
superfunc Aug 15, 2016
d41c096
make pxrUsdMayaGL dependent on usdMaya and NOT the reverse
mattyjams Aug 15, 2016
e934823
Add UsdMaterial - to replace UsdLook
Aug 15, 2016
ad09851
[UsdUtils] Cleanup unused-function warnings. These occured because th…
superfunc Aug 15, 2016
d4e796f
[Tf] Remove unused private member in test.
superfunc Aug 15, 2016
e808f6f
Tf: prevent hashing of TfToken with TfHash by way of implicit convers…
jloy Aug 15, 2016
1ec5666
Fix bug where targets that were authored inside variants and
sunyab Aug 15, 2016
a6e4cf5
Big batch of documentation fixes and enhancements for openSource.
spiffmon Aug 15, 2016
c632f18
readLook uses PRManGetShaderParameterInfo as fallback test only when …
stevelavietes Aug 16, 2016
105bebf
Maya and Katana plugins mostly compile on Windows.
Aug 16, 2016
8110feb
Symbol resolution now working on Windows.
Aug 16, 2016
1628df8
Katana plugin now compiles on Windows.
Aug 16, 2016
fff1368
Ptex support added to Windows.
Aug 16, 2016
7f73186
Add new usdUI library.
pixar-oss Aug 16, 2016
568c78f
Read positions when localizing
Aug 16, 2016
62182c4
usd: Use c++11 static_assert in lieu of boost.
gitamohr Aug 16, 2016
8026abd
usd: Replace BOOST_FOREACH with c++11 range-for.
gitamohr Aug 16, 2016
f22da14
usd: While reading tokens, create token instances in parallel.
gitamohr Aug 16, 2016
d784994
usd: Replace BOOST_FOREACH with c++11 range-for.
gitamohr Aug 16, 2016
0f608c0
usd: Replace BOOST_FOREACH with c++11 range-for.
gitamohr Aug 16, 2016
bb0d3c2
usd: Replace BOOST_FOREACH with c++11 range-for.
gitamohr Aug 16, 2016
b774161
usd: Replace BOOST_MPL_ASSERT_MSG with c++11 static_assert.
gitamohr Aug 16, 2016
f960031
usd: Replace BOOST_FOREACH with c++11 range-for.
gitamohr Aug 16, 2016
e435536
usd: Replace BOOST_FOREACH with c++11 range-for.
gitamohr Aug 16, 2016
9fee577
[pxr/base] A couple of small doxygen syntax fixes.
comand Aug 16, 2016
cddfa07
[Pxr] Update a few more relative links in the building doc.
superfunc Aug 16, 2016
11e4621
[garch] Prefer apple's GL over x11's on mac
s-baron Aug 16, 2016
82a1551
[Hydra] Descriptive errors for invalid texture paths in delegates
s-baron Aug 16, 2016
bb2d1c3
Change the token "interface" to "interfaceNS" so that we don't run
spiffmon Aug 16, 2016
758c413
[pxr/usd] Update doxygen syntax.
comand Aug 16, 2016
b8a8168
[garch] update cmake to show boost dependency
s-baron Aug 16, 2016
7bafa80
[pxr/imaging] Update doxygen syntax.
comand Aug 16, 2016
1e54a75
[pxr/usdImaging] Update doxygen syntax.
comand Aug 16, 2016
bbec96f
[pxr/base, pxr/imaging] Fix up a couple of doxygen class tags.
comand Aug 16, 2016
f79aeaf
arch: Add ArchGetFileLength(FILE *) overload, change return type to i…
gitamohr Aug 16, 2016
30c09f2
[pxr/usd, pxr/imaging] Fix up doxygen file tags.
comand Aug 16, 2016
3e25f5b
[Pxr] Clean up gcc/clang defaults in cmake.
superfunc Aug 16, 2016
9b61743
Improve error reporting, so it's possible to tell where the error is,
comand Aug 16, 2016
0f39d6e
Parallelize smooth normal computation.
pixar-oss Aug 16, 2016
303d46a
[Pxr] Add strict build mode.
superfunc Aug 16, 2016
c7867b4
arch: Add simple file mapping abstraction, with POSIX and Windows
gitamohr Aug 16, 2016
9ca535d
arch: Provide pread/pwrite abstractions with windows implementation a…
gitamohr Aug 16, 2016
032cb01
sanity check mesh UV data before attempting to compress and export it
mattyjams Aug 16, 2016
104c7a3
Provide a way to enable the linker flags that work around a maya bug …
gitamohr Aug 16, 2016
86a4c21
Fix bug that would cause the same master prim to be composed
sunyab Aug 16, 2016
2717b3d
arch: Do the retry dance in ArchPRead() like ArchPWrite() was doing
gitamohr Aug 16, 2016
76bf655
arch: Fix bug in previous change.
gitamohr Aug 16, 2016
9f95431
Fix dirty instances not being updated.
pixar-oss Aug 16, 2016
3326ac6
[Pxr] Migrate GetExtension implementation to pathUtils. This currentl…
superfunc Aug 16, 2016
e23abed
[Tf] Add missing examples in docs from previous change.
superfunc Aug 16, 2016
3df123c
[UsdAbc] Add actual check for CanRead() to Alembic plugin. This came up
superfunc Aug 16, 2016
6f8ad48
[Usd] Update usddiff to work with editors like xxdiff which edit
superfunc Aug 16, 2016
a7ddccf
The min filter for LinearMipmapLinear was not implemented in UsdImagi…
poljere Aug 16, 2016
9c934ca
[Usd] Cleanup from previous change. Ensure that temporary directories
superfunc Aug 16, 2016
b61861d
usd: Use new arch abstraction for mmap in crateFile.{cpp,h}.
gitamohr Aug 16, 2016
36329b6
usd: Use new arch pread/pwrite abstraction in usd/crateFile.cpp.
gitamohr Aug 16, 2016
b0f30ef
[Pxr] Clean up mismatched-tags warnings. These occur when a class or …
superfunc Aug 16, 2016
68f449c
Merge remote-tracking branch 'upstream/dev'
Aug 17, 2016
1d2c230
Post integration fix up.
Aug 17, 2016
383aa02
Post integration fix up.
Aug 17, 2016
880b046
Add missing dependency on cameraUtil
sunyab Aug 16, 2016
f99fdcf
Renaming and changing signature of ComputeFittedFrustum to adhere to …
unhyperbolic Aug 16, 2016
c6fbdbd
[UsdImaging] add glew initialization at IsEnabledHydra() call
takahito-tejima Aug 16, 2016
f632f23
[Usd] Clean up previous change per follow-up review notes. We still r…
superfunc Aug 16, 2016
e881c3c
Katana: read usdMaterials rather than usdLooks
Aug 16, 2016
ad23e37
Tf: remove unused macros
jloy Aug 16, 2016
68e817b
sdf: Read text files completely into memory. This avoids the n^2 fle…
gitamohr Aug 16, 2016
da45217
add dagPath to error messages when MFn*() calls fail to help track do…
mattyjams Aug 16, 2016
cbfc737
work: Provide a way to disable asynchronous destruction for tests.
gitamohr Aug 16, 2016
01264f4
Add missing dependencies to garch.
s-baron Aug 16, 2016
b6eae19
This changelist adds the ability to detect if a shader (parameters) i…
poljere Aug 16, 2016
1690559
usd: Fix up inconsistent results between Attribute::Get(time) and
gitamohr Aug 16, 2016
8088a9a
[UsdImaging] fix of verification error when native instance has no rp…
takahito-tejima Aug 16, 2016
259a55f
[Hd, PxOsd] replace opensubdiv3/ include path with opensubdiv/
takahito-tejima Aug 16, 2016
203cade
Fix PySide issues in CMake system
sunyab Aug 16, 2016
6edf658
Use TfPyObjWrapper instead of boost::python::object in TfType API.
sunyab Aug 16, 2016
c31c12d
Changing USD_READ_ZUP_FOR_UP_AXIS to 0 to fix weird behavior in usdview.
unhyperbolic Aug 16, 2016
b1e9abe
pcp: Destroy prim index cache path table in parallel. This speeds up…
gitamohr Aug 16, 2016
1c53a3a
Recoup speed lost in the recent switch from our own
blevin Aug 16, 2016
48962d2
Modify the work loop functions to use a consistent API for forwarding
c64kernal Aug 16, 2016
411f351
Passing in resolver context when creating stage. Without this, the
mrawde Aug 16, 2016
9364ad1
Remove use of Mentor.Runtime.FindDataFile in C++ tests in pxr.
sunyab Aug 16, 2016
d0250c3
usdview was using the locale module purely to get grouping
spiffmon Aug 16, 2016
fa015ec
Remove errorneous template instantisation from headers.
Aug 18, 2016
fea3e69
Merge remote-tracking branch 'upstream/dev'
Aug 18, 2016
5af5b9a
Post integration fixup.
Aug 18, 2016
a976d1a
Post integration fixup.
Aug 18, 2016
cd7567a
Correctly export TfStacked.
Aug 18, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 8 additions & 8 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ Advanced Build Configuration
============================

## Table of Contents
- [Optional Components](#Optional-Components)
- [Third Party Plugins](#Plugins)
- [Other Build Options](#Other-Build-Options)
- [USD Developer Options](#USD-Developer-Options)
- [Optimization Options](#Optimization-Options)
- [Optional Components](#optional-components)
- [Third Party Plugins](#third-party-plugins)
- [Other Build Options](#other-build-options)
- [USD Developer Options](#usd-developer-options)
- [Optimization Options](#optimization-options)

## Optional Components

Expand All @@ -19,7 +19,7 @@ removes the need for their dependencies when building USD.
This component contains Hydra, a high-performance graphics rendering engine.

Disable this component by specifying the cmake flag ```PXR_BUILD_IMAGING=FALSE``` when
invoking cmake. Disabling this component will also disable the [USD Imaging](#USD-Imaging)
invoking cmake. Disabling this component will also disable the [USD Imaging](#usd-imaging)
component.

##### USD Imaging
Expand All @@ -28,10 +28,10 @@ This component provides the USD imaging delegates for Hydra, as well as
usdview, a standalone native viewer for USD files.

Disable this component by specifying the cmake flag ```PXR_BUILD_USD_IMAGING=FALSE``` when
invoking cmake. Enabling this component will enable the [Imaging](#Imaging)
invoking cmake. Enabling this component will enable the [Imaging](#imaging)
component.

## Plugins
## Third Party Plugins

USD provides several plugins for integration with third-party software packages,
including Maya, Katana, and Alembic. There is additional documentation on each plugin
Expand Down
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ include(CXXDefaults)
add_definitions(${_PXR_CXX_DEFINITIONS})
set(CMAKE_CXX_FLAGS ${_PXR_CXX_FLAGS})

if(POLICY CMP0020)
cmake_policy(SET CMP0020 OLD)
endif()

include(Public)

add_subdirectory(pxr)
Expand Down
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Thank you for your interest in contributing to USD! We ask that
potential contributors review our guidelines on [contributing](http://openusd.org/docs/Contributing-to-USD.html) before submitting a pull request.
50 changes: 0 additions & 50 deletions ISSUES.md

This file was deleted.

8 changes: 8 additions & 0 deletions ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
### System Information (OS, Hardware, etc.)

### Package Versions

### Build Flags

### Steps to Reproduce
1.
9 changes: 9 additions & 0 deletions PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
### Description of Change(s)


### Included Commit(s)
-

### Fixes Issue(s)
-

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Getting Help
------------

Need help understanding certain concepts in USD? See
[Getting Help with USD](http://openusd.org/docs/Getting-Help-With-USD.html).
[Getting Help with USD](http://openusd.org/docs/Getting-Help-with-USD.html).

If you are experiencing undocumented problems with the software,
please read our [issue guidelines](ISSUES.md) and file a bug via the
Expand Down
2 changes: 1 addition & 1 deletion cmake/defaults/CXXDefaults.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ include(Version)

if (CMAKE_COMPILER_IS_GNUCXX)
include(gccdefaults)
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
elseif (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang")
include(clangdefaults)
elseif(MSVC)
include(msvcdefaults)
Expand Down
6 changes: 4 additions & 2 deletions cmake/defaults/Options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@
# KIND, either express or implied. See the Apache License for the specific
# language governing permissions and limitations under the Apache License.
#
option(PXR_STRICT_BUILD_MODE "Turn on additional warnings. Enforce all warnings as errors." OFF)
option(PXR_VALIDATE_GENERATED_CODE "Validate script generated code" ON)
option(PXR_BUILD_IMAGING "Build imaging components" ON)
option(PXR_BUILD_USD_IMAGING "Build USD imaging components" ON)
option(PXR_BUILD_KATANA_PLUGIN "Build usd katana plugin" OFF)
option(PXR_BUILD_MAYA_PLUGIN "Build usd maya plugin" OFF)
option(PXR_BUILD_KATANA_PLUGIN "Build usd katana plugin" ON)
option(PXR_BUILD_MAYA_PLUGIN "Build usd maya plugin" ON)
option(PXR_BUILD_ALEMBIC_PLUGIN "Build the Alembic plugin for USD" OFF)
option(PXR_MAYA_TBB_BUG_WORKAROUND "Turn on linker flag (-Wl,-Bsymbolic) to work around a Maya TBB bug" OFF)

set(PXR_INSTALL_LOCATION ""
CACHE
Expand Down
28 changes: 22 additions & 6 deletions cmake/defaults/Packages.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ find_package(PythonInterp 2.7 REQUIRED)
# --Boost
find_package(Boost
COMPONENTS
date_time
iostreams
python
regex
system
thread
program_options
REQUIRED
)
Expand All @@ -58,17 +60,27 @@ find_library(M_LIB m)
find_package(Jinja2)

if (NOT PXR_MALLOC_LIBRARY)
message(STATUS "Using default system allocator because PXR_MALLOC_LIBRARY is unspecified")
if (NOT WIN32)
message(STATUS "Using default system allocator because PXR_MALLOC_LIBRARY is unspecified")
endif()
endif()

# Developer Options Package Requirements
# ----------------------------------------------
if (PXR_VALIDATE_GENERATED_CODE)
find_package(BISON 2.4.1 EXACT)
if(WIN32)
find_package(BISON 2.7 EXACT)
else()
find_package(BISON 2.4.1 EXACT)
endif()
# Flex 2.5.39+ is required, generated API is generated incorrectly in
# 2.5.35, at least. scan_bytes generates with (..., int len, ...) instead of
# the correct (..., yy_size_t len, ...). Lower at your own peril.
find_package(FLEX 2.5.39 EXACT)
if(WIN32)
find_package(FLEX 2.5.37 EXACT)
else()
find_package(FLEX 2.5.39 EXACT)
endif()
endif()


Expand All @@ -85,13 +97,17 @@ if (PXR_BUILD_IMAGING)
find_package(OpenSubdiv 3 REQUIRED)
# --Ptex
find_package(PTex REQUIRED)
# --X11
find_package(X11)
if(UNIX)
# --X11
find_package(X11)
endif()
# --Qt
find_package(Qt4)
if (QT4_FOUND)
find_package(PySideTools REQUIRED)
find_package(PySide REQUIRED)
endif()
# --Zlib
find_package(ZLIB REQUIRED)
endif()

# Third Party Plugin Package Requirements
Expand Down
2 changes: 1 addition & 1 deletion cmake/defaults/ProjectDefaults.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ if(NOT CMAKE_BUILD_TYPE)
endif()

# Enable CTest
enable_testing()
# enable_testing()
14 changes: 5 additions & 9 deletions cmake/defaults/clangdefaults.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,10 @@
# KIND, either express or implied. See the Apache License for the specific
# language governing permissions and limitations under the Apache License.
#
# By default, Release flavor builds in cmake set NDEBUG, which
# breaks things internally. Turn it off.
set(CMAKE_CXX_FLAGS_RELEASE "-O2")

# Initialize to c++11, pxr won't build without it.
set(_PXR_CXX_FLAGS "-std=c++11 -DTF_NO_GNU_EXT -Wall -Wno-unused-local-typedefs")

# We use hash_map, suppress deprecation warning.
_add_warning_flag("no-deprecated")
_add_warning_flag("no-deprecated-declarations")
include(gccclangshareddefaults)

# Defining TF_NO_GNU_EXT disables using the gnu hash_set and
# hash_map containers on platforms where we can't. The implementation
# will substitute C++11 containers with equivalent semantics in this case.
set(_PXR_CXX_FLAGS "${_PXR_GCC_CLANG_SHARED_CXX_FLAGS} -DTF_NO_GNU_EXT")
51 changes: 51 additions & 0 deletions cmake/defaults/gccclangshareddefaults.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
#
# Copyright 2016 Pixar
#
# Licensed under the Apache License, Version 2.0 (the "Apache License")
# with the following modification; you may not use this file except in
# compliance with the Apache License and the following modification to it:
# Section 6. Trademarks. is deleted and replaced with:
#
# 6. Trademarks. This License does not grant permission to use the trade
# names, trademarks, service marks, or product names of the Licensor
# and its affiliates, except as required to comply with Section 4(c) of
# the License and to reproduce the content of the NOTICE file.
#
# You may obtain a copy of the Apache License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Apache License with the above modification is
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the Apache License for the specific
# language governing permissions and limitations under the Apache License.
#

# This file contains a set of flags/settings shared between our
# GCC and Clang configs. This allows clangdefaults and gccdefaults
# to remain minimal, marking the points where divergence is required.
include(Options)

# By default, Release flavor builds in cmake set NDEBUG, which
# breaks things internally. Turn it off.
set(CMAKE_CXX_FLAGS_RELEASE "-O2")

# Enable all warnings
_add_warning_flag("all")
# We use hash_map, suppress deprecation warning.
_add_warning_flag("no-deprecated")
_add_warning_flag("no-deprecated-declarations")
# Suppress unused typedef warnings eminating from boost.
_add_warning_flag("no-unused-local-typedefs")

# Turn on C++11, pxr won't build without it.
set(_PXR_GCC_CLANG_SHARED_CXX_FLAGS "-std=c++11")

if (${PXR_MAYA_TBB_BUG_WORKAROUND})
set(_PXR_GCC_CLANG_SHARED_CXX_FLAGS "${_PXR_GCC_CLANG_SHARED_CXX_FLAGS} -Wl,-Bsymbolic")
endif()

if (${PXR_STRICT_BUILD_MODE})
_add_warning_flag("error")
endif()
12 changes: 2 additions & 10 deletions cmake/defaults/gccdefaults.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,7 @@
# KIND, either express or implied. See the Apache License for the specific
# language governing permissions and limitations under the Apache License.
#
# By default, Release flavor builds in cmake set NDEBUG, which
# breaks things internally. Turn it off.
set(CMAKE_CXX_FLAGS_RELEASE "-O2")

# Initialize to c++11, pxr won't build without it.
# Turn on all warnings and convert them to errors.
set(_PXR_CXX_FLAGS "-std=c++11 -Wall -Wno-unused-local-typedefs")

# We use hash_map, suppress deprecation warning.
_add_warning_flag("no-deprecated")
_add_warning_flag("no-deprecated-declarations")
include(gccclangshareddefaults)

set(_PXR_CXX_FLAGS "${_PXR_GCC_CLANG_SHARED_CXX_FLAGS}")
58 changes: 58 additions & 0 deletions cmake/defaults/msvcdefaults.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,67 @@
# language governing permissions and limitations under the Apache License.
#

# Make sure WinDef.h does not define min and max macros which
# will conflict with std::min() and std::max().
add_definitions("/DNOMINMAX")

# TBB conflict
# This needs to be enabled only for debug builds
# add_definitions("/DTBB_USE_DEBUG=1")

# Allow "Unsecure" STL
add_definitions("/D_SCL_SECURE_NO_WARNINGS")

# Needed for consistency with Linux for the use of hashmap and hashset
add_definitions("/DTF_NO_GNU_EXT")

# Needed to prevent YY files trying to import Unistd.h
# (which doesn't exist on Windows)
add_definitions("/DYY_NO_UNISTD_H")

# Forces all libraries that have separate source, to be linked as
# DLL's rather than static libraries on Microsoft Window.
add_definitions("/DBOOST_ALL_DYN_LINK")

add_definitions("/DBUILD_OPTLEVEL_OPT")

add_definitions(/"DFLAVOR=\"win64\"")

add_definitions(/"DOPENEXR_DLL")

# Set a decent warning level
add_definitions("/W3")

# Treat all warnings as errors
add_definitions("/WX")

# trunctation from 'double' to 'float' due to matrix and vector classes in `Gf`
add_definitions("/wd4244")
add_definitions("/wd4305")

# conversion from size_t to int. Whilst we don't want this enabled
# its in the Python headers. So all the Python wrap code is affected.
add_definitions("/wd4267")

# no definition for inline function
# this affects Glf only
add_definitions("/wd4506")

# Enable PDB generation
add_definitions("/Zi")

# Enable minimum builds
add_definitions("/Gm")

# These files require /bigobj compiler flag
# Vt/arrayPyBuffer.cpp
# Usd/crateFile.cpp
# Usd/stage.cpp
# Until we can set the flag on a per file basis, we'll have to enable it
# for all translation units.
add_definitions("/bigobj")

if (${PXR_STRICT_BUILD_MODE})
# Treat all warnings as errors
add_definitions("/WX")
endif()
Loading