mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 20:19:53 +00:00
df62f64db7
Ensure CMAKE_DATA_DIR, CMAKE_DOC_DIR, and CMAKE_MAN_DIR are always relative paths in CMake code, and set defaults accordingly. Use the install() command instead of install_files() and install_targets(). This is more modern and also avoids stripping of the first character from user-specified destinations. While at it, fix the default destinations reported in the bootstrap help.
23 lines
998 B
C
23 lines
998 B
C
/*============================================================================
|
|
CMake - Cross Platform Makefile Generator
|
|
Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
|
|
|
|
Distributed under the OSI-approved BSD License (the "License");
|
|
see accompanying file Copyright.txt for details.
|
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even the
|
|
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
See the License for more information.
|
|
============================================================================*/
|
|
#cmakedefine CMAKE_NO_STD_NAMESPACE
|
|
#cmakedefine CMAKE_NO_ANSI_STREAM_HEADERS
|
|
#cmakedefine CMAKE_NO_ANSI_STRING_STREAM
|
|
#cmakedefine CMAKE_NO_ANSI_FOR_SCOPE
|
|
#cmakedefine HAVE_ENVIRON_NOT_REQUIRE_PROTOTYPE
|
|
#cmakedefine HAVE_UNSETENV
|
|
#cmakedefine CMAKE_USE_ELF_PARSER
|
|
#cmakedefine CMAKE_STRICT
|
|
#define CMAKE_ROOT_DIR "${CMake_SOURCE_DIR}"
|
|
#define CMAKE_BUILD_DIR "${CMake_BINARY_DIR}"
|
|
#define CMAKE_DATA_DIR "/@CMAKE_DATA_DIR@"
|