mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 22:49:20 +00:00
fecbd33fb8
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21913 a592a061-630c-0410-9148-cb99ea01b6c8
32 lines
1.4 KiB
CMake
32 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
|
|
include_directories(${vld_path}/include)
|
|
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} /FIvld.h")
|
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /FIvld.h")
|
|
set(vld_dll vld)
|
|
|
|
add_subdirectory(${vld_path}/tools/cmake ${CMAKE_BINARY_DIR}/vld)
|