Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/core6/cmake/tools/FindVLD.cmake @ 10670

Last change on this file since 10670 was 8412, checked in by rgrieder, 14 years ago

MSVC specific:
Sorted out Visual Leak Detector handling (it's now treated like a real library, not as a hack).
Also, the vld.h include is gone and with it windows.h.

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1 #
2 #             ORXONOX - the hottest 3D action shooter ever to exist
3 #                             > www.orxonox.net <
4 #
5 #        This program is free software; you can redistribute it and/or
6 #         modify it under the terms of the GNU General Public License
7 #        as published by the Free Software Foundation; either version 2
8 #            of the License, or (at your option) any later version.
9 #
10 #       This program is distributed in the hope that it will be useful,
11 #        but WITHOUT ANY WARRANTY; without even the implied warranty of
12 #        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 #                 GNU General Public License for more details.
14 #
15 #   You should have received a copy of the GNU General Public License along
16 #      with this program; if not, write to the Free Software Foundation,
17 #     Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
18 #
19 #
20 #  Author:
21 #    Reto Grieder
22 #  Description:
23 #    Finds the Visual Leak Detector if installed
24 #
25
26INCLUDE(FindPackageHandleStandardArgs)
27
28FIND_PATH(VLD_INCLUDE_DIR vld.h
29  PATH_SUFFIXES "Visual Leak Detector/include"
30)
31FIND_LIBRARY(VLD_LIBRARY
32  NAMES vld
33  PATH_SUFFIXES "Visual Leak Detector/lib/Win32"
34)
35
36# Handle the REQUIRED argument and set POCO_FOUND
37FIND_PACKAGE_HANDLE_STANDARD_ARGS(VLD DEFAULT_MSG
38  VLD_LIBRARY
39  VLD_INCLUDE_DIR
40)
41
42MARK_AS_ADVANCED(
43  VLD_INCLUDE_DIR
44  VLD_LIBRARY
45)
Note: See TracBrowser for help on using the repository browser.