]> git.lyx.org Git - lyx.git/blob - development/Win32/vld/cmake/vld.cmake
improved mount state check
[lyx.git] / development / Win32 / vld / cmake / vld.cmake
1 #///////////////////////////////////////////////////////////////////////////////
2 #//
3 #//  Visual Leak Detector - CallStack Class Implementations
4 #//  Copyright (c) 2005-2006 Dan Moulding
5 #//  Copyright (c) 2007 Peter Kümmel, CMake files
6 #//
7 #//  This library is free software; you can redistribute it and/or
8 #//  modify it under the terms of the GNU Lesser General Public
9 #//  License as published by the Free Software Foundation; either
10 #//  version 2.1 of the License, or (at your option) any later version.
11 #//
12 #//  This library is distributed in the hope that it will be useful,
13 #//  but WITHOUT ANY WARRANTY; without even the implied warranty of
14 #//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15 #//  Lesser General Public License for more details.
16 #//
17 #//  You should have received a copy of the GNU Lesser General Public
18 #//  License along with this library; if not, write to the Free Software
19 #//  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 #//
21 #//  See COPYING.txt for the full terms of the GNU Lesser General Public License.
22 #//
23 #////////////////////////////////////////////////////////////////////////////////
24
25 # This triggers the useage of vld in all other projects
26 set(CMAKE_C_FLAGS_DEBUG   "${CMAKE_C_FLAGS_DEBUG}   /FI${vld_path}/src/vld.h")
27 set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /FI${vld_path}/src/vld.h")