From 61ccd8a7cffb1d4936b60f5db10da67b0bb73be9 Mon Sep 17 00:00:00 2001 From: Stinkfist0 Date: Sun, 7 Feb 2016 12:28:05 +0200 Subject: [PATCH] VLD, not VLC... --- cmake/CMakeLists.txt | 6 +++--- src/examples/IfcOpenHouse.cpp | 2 +- src/examples/IfcParseExamples.cpp | 2 +- src/ifcconvert/IfcConvert.cpp | 2 +- src/ifcgeomserver/IfcGeomServer.cpp | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 68925c68c0..dc567be5bf 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -28,7 +28,7 @@ OPTION(ENABLE_BUILD_OPTIMIZATIONS "Enable certain compiler and linker optimizati OPTION(USE_IFC4 "Use IFC 4 instead of IFC 2x3 (full rebuild recommended when switching this)" OFF) OPTION(BUILD_IFCPYTHON "Build IfcPython." ON) OPTION(BUILD_EXAMPLES "Build example applications." ON) -OPTION(USE_VLC "Use Visual Leak Detector for debugging memory leaks, MSVC-only." OFF) +OPTION(USE_VLD "Use Visual Leak Detector for debugging memory leaks, MSVC-only." OFF) # TODO QtViewer is deprecated ATM as it uses the 0.4 API # OPTION(BUILD_QTVIEWER "Build IfcOpenShell Qt GUI Viewer (requires Qt 4 framework)." OFF) @@ -238,8 +238,8 @@ if(ENABLE_BUILD_OPTIMIZATIONS) endif() IF(MSVC) - IF(USE_VLC) - ADD_DEFINITIONS(-DUSE_VLC) + IF(USE_VLD) + ADD_DEFINITIONS(-DUSE_VLD) ENDIF() # Enforce Unicode for CRT and Win32 API calls ADD_DEFINITIONS(-D_UNICODE -DUNICODE) diff --git a/src/examples/IfcOpenHouse.cpp b/src/examples/IfcOpenHouse.cpp index f27a34cf88..c7414e76e7 100644 --- a/src/examples/IfcOpenHouse.cpp +++ b/src/examples/IfcOpenHouse.cpp @@ -41,7 +41,7 @@ #include "../ifcparse/IfcHierarchyHelper.h" #include "../ifcgeom/IfcGeom.h" -#if USE_VLC +#if USE_VLD #include #endif diff --git a/src/examples/IfcParseExamples.cpp b/src/examples/IfcParseExamples.cpp index 1d418ee628..7ae158a67f 100644 --- a/src/examples/IfcParseExamples.cpp +++ b/src/examples/IfcParseExamples.cpp @@ -19,7 +19,7 @@ #include "../ifcparse/IfcFile.h" -#if USE_VLC +#if USE_VLD #include #endif diff --git a/src/ifcconvert/IfcConvert.cpp b/src/ifcconvert/IfcConvert.cpp index da8184acb7..8f1e285ea8 100644 --- a/src/ifcconvert/IfcConvert.cpp +++ b/src/ifcconvert/IfcConvert.cpp @@ -46,7 +46,7 @@ #include #include -#if USE_VLC +#if USE_VLD #include #endif diff --git a/src/ifcgeomserver/IfcGeomServer.cpp b/src/ifcgeomserver/IfcGeomServer.cpp index f70d82f7a0..975c3c471e 100644 --- a/src/ifcgeomserver/IfcGeomServer.cpp +++ b/src/ifcgeomserver/IfcGeomServer.cpp @@ -37,7 +37,7 @@ #include "../ifcgeom/IfcGeomIterator.h" -#if USE_VLC +#if USE_VLD #include #endif