lyx_mirror/development/Win32/vld/cmake/vld.cmake

28 lines
1.4 KiB
CMake
Raw Normal View History

#///////////////////////////////////////////////////////////////////////////////
#//
#// 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")