diff options
| author | Oz Linden <oz@lindenlab.com> | 2012-05-26 16:12:33 -0400 |
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2012-05-26 16:12:33 -0400 |
| commit | dbac37dcb50bf44255c2b622d418bb4339f1afca (patch) | |
| tree | acffbcb5984696e507243f939f6b9c5a951b755b /indra/cmake/VisualLeakDetector.cmake | |
| parent | 790dfda43472da75d17a848eb91e2dcecb2b96e7 (diff) | |
| parent | b2b446aed7f7f32151bc152ba25d44253ebf864f (diff) | |
merge latest viewer-release
Diffstat (limited to 'indra/cmake/VisualLeakDetector.cmake')
| -rw-r--r-- | indra/cmake/VisualLeakDetector.cmake | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/indra/cmake/VisualLeakDetector.cmake b/indra/cmake/VisualLeakDetector.cmake new file mode 100644 index 0000000000..d3ba554e46 --- /dev/null +++ b/indra/cmake/VisualLeakDetector.cmake @@ -0,0 +1,15 @@ +# -*- cmake -*- + +if (VIEWER) + + set(INCLUDE_VLD_CMAKE OFF CACHE BOOL "Build the Windows viewer with Visual Leak Detector turned on or off") + + if (INCLUDE_VLD_CMAKE) + + if (WINDOWS) + add_definitions(-DINCLUDE_VLD=1) + endif (WINDOWS) + + endif (INCLUDE_VLD_CMAKE) + +endif (VIEWER) |
