lyx_mirror/development/Win32/vld/cmake/vld.cmake
Peter Kümmel 69a049a0d4 vld: remove msvc2005 project file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38810 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-22 11:29:48 +00:00

28 lines
1.4 KiB
CMake

#///////////////////////////////////////////////////////////////////////////////
#//
#// Visual Leak Detector - CallStack Class Implementations
#// Copyright (c) 2005-2006 Dan Moulding
#// Copyright (c) 2007 Peter Kümmel, CMake files
#//
#// This library is free software; you can redistribute it and/or
#// modify it under the terms of the GNU Lesser General Public
#// License as published by the Free Software Foundation; either
#// version 2.1 of the License, or (at your option) any later version.
#//
#// This library is distributed in the hope that it will be useful,
#// but WITHOUT ANY WARRANTY; without even the implied warranty of
#// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
#// Lesser General Public License for more details.
#//
#// You should have received a copy of the GNU Lesser General Public
#// License along with this library; if not, write to the Free Software
#// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#//
#// See COPYING.txt for the full terms of the GNU Lesser General Public License.
#//
#////////////////////////////////////////////////////////////////////////////////
# This triggers the useage of vld in all other projects
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} /FI${vld_path}/src/vld.h")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /FI${vld_path}/src/vld.h")