Merge in changes to CMake-2-8 RC 2
This commit is contained in:
parent
3c7354c1cd
commit
f9687e328f
|
@ -1,7 +1,18 @@
|
||||||
|
#=============================================================================
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
|
||||||
# If the cmake version includes cpack, use it
|
# If the cmake version includes cpack, use it
|
||||||
IF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
|
IF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
|
||||||
IF(EXISTS "${CMAKE_ROOT}/Modules/InstallRequiredSystemLibraries.cmake")
|
IF(EXISTS "${CMAKE_ROOT}/Modules/InstallRequiredSystemLibraries.cmake")
|
||||||
SET(CMAKE_INSTALL_MFC_LIBRARIES 1)
|
|
||||||
OPTION(CMAKE_INSTALL_DEBUG_LIBRARIES
|
OPTION(CMAKE_INSTALL_DEBUG_LIBRARIES
|
||||||
"Install Microsoft runtime debug libraries with CMake." FALSE)
|
"Install Microsoft runtime debug libraries with CMake." FALSE)
|
||||||
MARK_AS_ADVANCED(CMAKE_INSTALL_DEBUG_LIBRARIES)
|
MARK_AS_ADVANCED(CMAKE_INSTALL_DEBUG_LIBRARIES)
|
||||||
|
|
|
@ -1,3 +1,14 @@
|
||||||
|
#=============================================================================
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
CMAKE_MINIMUM_REQUIRED(VERSION 2.4.5 FATAL_ERROR)
|
CMAKE_MINIMUM_REQUIRED(VERSION 2.4.5 FATAL_ERROR)
|
||||||
PROJECT(CMake)
|
PROJECT(CMake)
|
||||||
IF(COMMAND CMAKE_POLICY)
|
IF(COMMAND CMAKE_POLICY)
|
||||||
|
@ -170,6 +181,7 @@ MACRO (CMAKE_BUILD_UTILITIES)
|
||||||
SET(KWSYS_USE_Process 1)
|
SET(KWSYS_USE_Process 1)
|
||||||
SET(KWSYS_USE_CommandLineArguments 1)
|
SET(KWSYS_USE_CommandLineArguments 1)
|
||||||
SET(KWSYS_HEADER_ROOT ${CMake_BINARY_DIR}/Source)
|
SET(KWSYS_HEADER_ROOT ${CMake_BINARY_DIR}/Source)
|
||||||
|
SET(KWSYS_INSTALL_DOC_DIR "${CMake_DOC_DEST}")
|
||||||
SUBDIRS(Source/kwsys)
|
SUBDIRS(Source/kwsys)
|
||||||
|
|
||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
|
@ -303,7 +315,7 @@ ENDMACRO (CMAKE_BUILD_UTILITIES)
|
||||||
SET(CMake_VERSION_MAJOR 2)
|
SET(CMake_VERSION_MAJOR 2)
|
||||||
SET(CMake_VERSION_MINOR 8)
|
SET(CMake_VERSION_MINOR 8)
|
||||||
SET(CMake_VERSION_PATCH 0)
|
SET(CMake_VERSION_PATCH 0)
|
||||||
SET(CMake_VERSION_RC 1)
|
SET(CMake_VERSION_RC 2)
|
||||||
|
|
||||||
# We use odd minor numbers for development versions.
|
# We use odd minor numbers for development versions.
|
||||||
# Use a date for the development patch level.
|
# Use a date for the development patch level.
|
||||||
|
@ -341,6 +353,7 @@ SET(CMAKE_MAN_DIR "/man" CACHE STRING
|
||||||
"Install location for man pages (relative to prefix).")
|
"Install location for man pages (relative to prefix).")
|
||||||
MARK_AS_ADVANCED(CMAKE_DATA_DIR CMAKE_DOC_DIR CMAKE_MAN_DIR)
|
MARK_AS_ADVANCED(CMAKE_DATA_DIR CMAKE_DOC_DIR CMAKE_MAN_DIR)
|
||||||
STRING(REGEX REPLACE "^/" "" CMake_DATA_DEST "${CMAKE_DATA_DIR}")
|
STRING(REGEX REPLACE "^/" "" CMake_DATA_DEST "${CMAKE_DATA_DIR}")
|
||||||
|
STRING(REGEX REPLACE "^/" "" CMake_DOC_DEST "${CMAKE_DOC_DIR}")
|
||||||
|
|
||||||
# include special compile flags for some compilers
|
# include special compile flags for some compilers
|
||||||
INCLUDE(CompileFlags.cmake)
|
INCLUDE(CompileFlags.cmake)
|
||||||
|
@ -436,6 +449,9 @@ SUBDIRS(Tests)
|
||||||
ADD_TEST(SystemInformationNew "${CMAKE_CMAKE_COMMAND}"
|
ADD_TEST(SystemInformationNew "${CMAKE_CMAKE_COMMAND}"
|
||||||
--system-information -G "${CMAKE_TEST_GENERATOR}" )
|
--system-information -G "${CMAKE_TEST_GENERATOR}" )
|
||||||
|
|
||||||
|
# Install license file as it requires.
|
||||||
|
INSTALL(FILES Copyright.txt DESTINATION ${CMake_DOC_DEST})
|
||||||
|
|
||||||
# Install script directories.
|
# Install script directories.
|
||||||
INSTALL(
|
INSTALL(
|
||||||
DIRECTORY Modules Templates
|
DIRECTORY Modules Templates
|
||||||
|
|
|
@ -1,3 +1,14 @@
|
||||||
|
#=============================================================================
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
set(CTEST_PROJECT_NAME "CMake")
|
set(CTEST_PROJECT_NAME "CMake")
|
||||||
set(CTEST_NIGHTLY_START_TIME "21:00:00 EDT")
|
set(CTEST_NIGHTLY_START_TIME "21:00:00 EDT")
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,7 @@ SET(CTEST_CUSTOM_WARNING_EXCEPTION
|
||||||
"Clock skew detected"
|
"Clock skew detected"
|
||||||
"remark\\(1209"
|
"remark\\(1209"
|
||||||
"stl_deque.h:1051"
|
"stl_deque.h:1051"
|
||||||
|
"(Lexer|Parser).*warning.*conversion.*may (alter its value|change the sign)"
|
||||||
"Parser.cxx.*warning.*2111-D.*statement is unreachable"
|
"Parser.cxx.*warning.*2111-D.*statement is unreachable"
|
||||||
"CMakeSetupManifest.xml.*manifest authoring warning.*Unrecognized Element"
|
"CMakeSetupManifest.xml.*manifest authoring warning.*Unrecognized Element"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,3 +1,52 @@
|
||||||
|
Changes in CMake 2.8.0 RC 2
|
||||||
|
- Fix FindQt4 so that QtHelp depends on QtNetwork
|
||||||
|
- Add missing copyright notice to CMake.cmake module
|
||||||
|
- Add alternative _UTILITY targets to all VS solutions
|
||||||
|
- FindGTest.cmake some bugfixes, also added public function for closer integration btwn GoogleTest & CTest, contributed by Dan Blezek.
|
||||||
|
- Eliminate ExternalProject's use of CMAKE_CFG_INTDIR subdir for Makefile generators. It was causing problems with parallel make -j invocations. Keep it for multi-configuration build systems so that Debug and Release stamp files remain separate.
|
||||||
|
- Fix for bug #9611, some more paths for OpenJDK.
|
||||||
|
- Fix get_filename_component() registry view with wow64
|
||||||
|
- Fix warnings in CMake source code.
|
||||||
|
- Fix module definition file reference for VS6 NMake
|
||||||
|
- Fix for bug #9611 do not hard code archs for search paths of java, look at the machine type.
|
||||||
|
- Fix bug#9619 add a link to module maintainers page in readme.txt for Modules
|
||||||
|
- Add cmake-help-command function to emacs-mode
|
||||||
|
- Add initial XL C compiler flags for safer builds
|
||||||
|
- Split XL compiler information files
|
||||||
|
- Fix default install prefix on Haiku
|
||||||
|
- Fix use of module .def files for MS tools
|
||||||
|
- Add StringProperty options includeing /def: for VS 10 flag table
|
||||||
|
- Convert copyright to OSI BSD and clean up licenses
|
||||||
|
- ENH: Added ctest test coverage for a test timeout
|
||||||
|
- CTest honors test timeouts again.
|
||||||
|
- Remove ctest_submit from CTestTestParallel
|
||||||
|
- Fix shared library creation flag for XL on Linux
|
||||||
|
- Fix BUG: 0009612: --output-on-failure option doesn't work with
|
||||||
|
the new parallel CTest handler
|
||||||
|
- Removed support for cutil library and header file.
|
||||||
|
- Fixed CUDA_PROPAGATE_HOST_FLAGS, added path for Mac SDK.
|
||||||
|
- Make sure LINK_FLAGS are seen by generator, fix for part of bug#9613
|
||||||
|
- Fix issue #9412 - remove RPATH from files copied by
|
||||||
|
BundleUtilities.cmake on Linux. Thank
|
||||||
|
- Fix support for OLD behavior of policy CMP0002
|
||||||
|
- Fix issue #8818 - escape quotes in the license file when using the
|
||||||
|
DragNDrop cpack genera
|
||||||
|
- Fix .vfproj file version for Intel Fortran 10.1
|
||||||
|
- Use BeAPI for per-user package registry on Haiku
|
||||||
|
- Correct comments and use ASM${ASM_DIALECT} env. var instead of ASM
|
||||||
|
env. var to initialize
|
||||||
|
- Fix bug #9529.
|
||||||
|
- Fix Windows GUI implib and image version in VS 6
|
||||||
|
- Convert newlines from CRLF to LF
|
||||||
|
- Oops. Last commit did not create subdir before doing a touch on a
|
||||||
|
file in it. So it fails of a type that is expected to have a
|
||||||
|
location...
|
||||||
|
- Policies 14 and 15 will be first released in 2.8.0
|
||||||
|
- Document full version number with policy default
|
||||||
|
- Simplify bootstrap script source dir detection
|
||||||
|
- Documentation fixes, new CUDA_PROPAGATE_HOST_FLAGS, changed output
|
||||||
|
directory.
|
||||||
|
|
||||||
Changes in CMake 2.8.0 RC 1
|
Changes in CMake 2.8.0 RC 1
|
||||||
|
|
||||||
- Qt based GUI cmake-gui is now the default GUI, MFC CMakeSetup is no
|
- Qt based GUI cmake-gui is now the default GUI, MFC CMakeSetup is no
|
||||||
|
|
|
@ -1,3 +1,15 @@
|
||||||
|
#=============================================================================
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# set some special flags for different compilers
|
# set some special flags for different compilers
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,9 +1,52 @@
|
||||||
|
CMake - Cross Platform Makefile Generator
|
||||||
|
Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions
|
||||||
|
are met:
|
||||||
|
|
||||||
|
* Redistributions of source code must retain the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer.
|
||||||
|
|
||||||
|
* Redistributions in binary form must reproduce the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer in the
|
||||||
|
documentation and/or other materials provided with the distribution.
|
||||||
|
|
||||||
|
* Neither the names of Kitware, Inc., the Insight Software Consortium,
|
||||||
|
nor the names of their contributors may be used to endorse or promote
|
||||||
|
products derived from this software without specific prior written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||||
|
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||||
|
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||||
|
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
|
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||||
|
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||||
|
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
The above copyright and license notice applies to distributions of
|
||||||
|
CMake in source and binary form. Some source files contain additional
|
||||||
|
notices of original copyright by their contributors; see each source
|
||||||
|
for details. Third-party software packages supplied with CMake under
|
||||||
|
compatible licenses provide their own copyright notices documented in
|
||||||
|
corresponding subdirectories.
|
||||||
|
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
|
||||||
CMake was initially developed by Kitware with the following sponsorship:
|
CMake was initially developed by Kitware with the following sponsorship:
|
||||||
|
|
||||||
* National Library of Medicine at the National Institutes of Health
|
* National Library of Medicine at the National Institutes of Health
|
||||||
as part of the Insight Segmentation and Registration Toolkit (ITK).
|
as part of the Insight Segmentation and Registration Toolkit (ITK).
|
||||||
|
|
||||||
* US National Labs (Los Alamos, Livermore, Sandia) ASC Parallel
|
* US National Labs (Los Alamos, Livermore, Sandia) ASC Parallel
|
||||||
Visualization Initiative.
|
Visualization Initiative.
|
||||||
|
|
||||||
* National Alliance for Medical Image Computing (NAMIC) is funded by the
|
* National Alliance for Medical Image Computing (NAMIC) is funded by the
|
||||||
|
@ -11,40 +54,3 @@ CMake was initially developed by Kitware with the following sponsorship:
|
||||||
Grant U54 EB005149.
|
Grant U54 EB005149.
|
||||||
|
|
||||||
* Kitware, Inc.
|
* Kitware, Inc.
|
||||||
|
|
||||||
The CMake copyright is as follows:
|
|
||||||
|
|
||||||
Copyright (c) 2002 Kitware, Inc., Insight Consortium
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
|
||||||
modification, are permitted provided that the following conditions are
|
|
||||||
met:
|
|
||||||
|
|
||||||
* Redistributions of source code must retain the above copyright notice,
|
|
||||||
this list of conditions and the following disclaimer.
|
|
||||||
|
|
||||||
* Redistributions in binary form must reproduce the above copyright notice,
|
|
||||||
this list of conditions and the following disclaimer in the documentation
|
|
||||||
and/or other materials provided with the distribution.
|
|
||||||
|
|
||||||
* The names of Kitware, Inc., the Insight Consortium, or the names of
|
|
||||||
any consortium members, or of any contributors, may not be used to
|
|
||||||
endorse or promote products derived from this software without
|
|
||||||
specific prior written permission.
|
|
||||||
|
|
||||||
* Modified source versions must be plainly marked as such, and must
|
|
||||||
not be misrepresented as being the original software.
|
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS ``AS IS''
|
|
||||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
||||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
||||||
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR
|
|
||||||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
||||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
||||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
||||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
||||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
||||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
|
|
||||||
See also the CMake web site: http://www.cmake.org for more information.
|
|
||||||
|
|
|
@ -1,3 +1,14 @@
|
||||||
|
#=============================================================================
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
set(CTEST_PROJECT_NAME "CMake")
|
set(CTEST_PROJECT_NAME "CMake")
|
||||||
set(CTEST_NIGHTLY_START_TIME "21:00:00 EDT")
|
set(CTEST_NIGHTLY_START_TIME "21:00:00 EDT")
|
||||||
|
|
||||||
|
|
|
@ -1,15 +1,13 @@
|
||||||
;=============================================================================
|
;=============================================================================
|
||||||
|
; CMake - Cross Platform Makefile Generator
|
||||||
|
; Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
|
||||||
;
|
;
|
||||||
; Program: CMake - Cross-Platform Makefile Generator
|
; Distributed under the OSI-approved BSD License (the "License");
|
||||||
; Module: $RCSfile$
|
; see accompanying file Copyright.txt for details.
|
||||||
;
|
|
||||||
; Copyright (c) 2000-$Date$ Kitware, Inc., Insight Consortium. All rights reserved.
|
|
||||||
; See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
|
|
||||||
;
|
|
||||||
; This software is distributed WITHOUT ANY WARRANTY; without even
|
|
||||||
; the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
||||||
; PURPOSE. See the above copyright notices for more information.
|
|
||||||
;
|
;
|
||||||
|
; 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.
|
||||||
;=============================================================================
|
;=============================================================================
|
||||||
;;; cmake-mode.el --- major-mode for editing CMake sources
|
;;; cmake-mode.el --- major-mode for editing CMake sources
|
||||||
|
|
||||||
|
@ -32,7 +30,22 @@
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
;;
|
||||||
|
;; cmake executable variable used to run cmake --help-command
|
||||||
|
;; on commands in cmake-mode
|
||||||
|
;;
|
||||||
|
;; cmake-command-help Written by James Bigler
|
||||||
|
;;
|
||||||
|
|
||||||
|
(defcustom cmake-mode-cmake-executable "cmake"
|
||||||
|
"*The name of the cmake executable.
|
||||||
|
|
||||||
|
This can be either absolute or looked up in $PATH. You can also
|
||||||
|
set the path with these commands:
|
||||||
|
(setenv \"PATH\" (concat (getenv \"PATH\") \";C:\\\\Program Files\\\\CMake 2.8\\\\bin\"))
|
||||||
|
(setenv \"PATH\" (concat (getenv \"PATH\") \":/usr/local/cmake/bin\"))"
|
||||||
|
:type 'file
|
||||||
|
:group 'cmake)
|
||||||
;;
|
;;
|
||||||
;; Regular expressions used by line indentation function.
|
;; Regular expressions used by line indentation function.
|
||||||
;;
|
;;
|
||||||
|
@ -251,6 +264,75 @@ the indentation. Otherwise it retains the same position on the line"
|
||||||
; Run user hooks.
|
; Run user hooks.
|
||||||
(run-hooks 'cmake-mode-hook))
|
(run-hooks 'cmake-mode-hook))
|
||||||
|
|
||||||
|
; Help mode starts here
|
||||||
|
|
||||||
|
|
||||||
|
(defun cmake-command-run (type &optional topic)
|
||||||
|
"Runs the command cmake with the arguments specified. The
|
||||||
|
optional argument topic will be appended to the argument list."
|
||||||
|
(interactive "s")
|
||||||
|
(let* ((bufname (concat "*CMake" type (if topic "-") topic "*"))
|
||||||
|
(buffer (get-buffer bufname))
|
||||||
|
)
|
||||||
|
(if buffer
|
||||||
|
(display-buffer buffer 'not-this-window)
|
||||||
|
;; Buffer doesn't exist. Create it and fill it
|
||||||
|
(setq buffer (generate-new-buffer bufname))
|
||||||
|
(setq command (concat cmake-mode-cmake-executable " " type " " topic))
|
||||||
|
(message "Running %s" command)
|
||||||
|
;; We don't want the contents of the shell-command running to the
|
||||||
|
;; minibuffer, so turn it off. A value of nil means don't automatically
|
||||||
|
;; resize mini-windows.
|
||||||
|
(setq resize-mini-windows-save resize-mini-windows)
|
||||||
|
(setq resize-mini-windows nil)
|
||||||
|
(shell-command command buffer)
|
||||||
|
;; Save the original window, so that we can come back to it later.
|
||||||
|
;; save-excursion doesn't seem to work for this.
|
||||||
|
(setq window (selected-window))
|
||||||
|
;; We need to select it so that we can apply special modes to it
|
||||||
|
(select-window (display-buffer buffer 'not-this-window))
|
||||||
|
(cmake-mode)
|
||||||
|
(toggle-read-only t)
|
||||||
|
;; Restore the original window
|
||||||
|
(select-window window)
|
||||||
|
(setq resize-mini-windows resize-mini-windows-save)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
(defun cmake-help-list-commands ()
|
||||||
|
"Prints out a list of the cmake commands."
|
||||||
|
(interactive)
|
||||||
|
(cmake-command-run "--help-command-list")
|
||||||
|
)
|
||||||
|
|
||||||
|
(defvar cmake-help-command-history nil "Topic read history.")
|
||||||
|
|
||||||
|
(require 'thingatpt)
|
||||||
|
(defun cmake-get-topic (type)
|
||||||
|
"Gets the topic from the minibuffer input. The default is the word the cursor is on."
|
||||||
|
(interactive)
|
||||||
|
(let* ((default-entry (word-at-point))
|
||||||
|
(input (read-string
|
||||||
|
(format "CMake %s (default %s): " type default-entry) ; prompt
|
||||||
|
nil ; initial input
|
||||||
|
'cmake-help-command-history ; command history
|
||||||
|
default-entry ; default-value
|
||||||
|
)))
|
||||||
|
(if (string= input "")
|
||||||
|
(error "No argument given")
|
||||||
|
input))
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
(defun cmake-help-command ()
|
||||||
|
"Prints out the help message corresponding to the command the cursor is on."
|
||||||
|
(interactive)
|
||||||
|
(setq command (cmake-get-topic "command"))
|
||||||
|
(cmake-command-run "--help-command" (downcase command))
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
; This file provides cmake-mode.
|
; This file provides cmake-mode.
|
||||||
(provide 'cmake-mode)
|
(provide 'cmake-mode)
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,19 @@
|
||||||
# Adds the given files as dependencies to source_file
|
# Adds the given files as dependencies to source_file
|
||||||
#
|
#
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2006-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
MACRO(ADD_FILE_DEPENDENCIES _file)
|
MACRO(ADD_FILE_DEPENDENCIES _file)
|
||||||
|
|
||||||
GET_SOURCE_FILE_PROPERTY(_deps ${_file} OBJECT_DEPENDS)
|
GET_SOURCE_FILE_PROPERTY(_deps ${_file} OBJECT_DEPENDS)
|
||||||
|
|
|
@ -23,6 +23,18 @@
|
||||||
# Requires CMake 2.6 or greater because it uses function, break and
|
# Requires CMake 2.6 or greater because it uses function, break and
|
||||||
# PARENT_SCOPE. Also depends on GetPrerequisites.cmake.
|
# PARENT_SCOPE. Also depends on GetPrerequisites.cmake.
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2008-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# The functions defined in this file depend on the get_prerequisites function
|
# The functions defined in this file depend on the get_prerequisites function
|
||||||
# (and possibly others) found in:
|
# (and possibly others) found in:
|
||||||
|
@ -414,6 +426,10 @@ function(copy_resolved_item_into_bundle resolved_item resolved_embedded_item)
|
||||||
#message(STATUS "copying COMMAND ${CMAKE_COMMAND} -E copy ${resolved_item} ${resolved_embedded_item}")
|
#message(STATUS "copying COMMAND ${CMAKE_COMMAND} -E copy ${resolved_item} ${resolved_embedded_item}")
|
||||||
execute_process(COMMAND ${CMAKE_COMMAND} -E copy "${resolved_item}" "${resolved_embedded_item}")
|
execute_process(COMMAND ${CMAKE_COMMAND} -E copy "${resolved_item}" "${resolved_embedded_item}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(UNIX AND NOT APPLE)
|
||||||
|
file(RPATH_REMOVE FILE "${resolved_embedded_item}")
|
||||||
|
endif(UNIX AND NOT APPLE)
|
||||||
endfunction(copy_resolved_item_into_bundle)
|
endfunction(copy_resolved_item_into_bundle)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2004-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# This file is used by cmake.cxx to compute the CMAKE_ROOT location.
|
# This file is used by cmake.cxx to compute the CMAKE_ROOT location.
|
||||||
# Do not remove this file from cvs without updating cmake.cxx to look
|
# Do not remove this file from cvs without updating cmake.cxx to look
|
||||||
# for a different file.
|
# for a different file.
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2007-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# support for AT&T syntax assemblers, e.g. GNU as
|
# support for AT&T syntax assemblers, e.g. GNU as
|
||||||
|
|
||||||
SET(ASM_DIALECT "-ATT")
|
SET(ASM_DIALECT "-ATT")
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2007-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
MESSAGE(STATUS "Loaded CMakeASM${ASM_DIALECT}Information - ASM${ASM_DIALECT} support is still experimental, please report issues")
|
MESSAGE(STATUS "Loaded CMakeASM${ASM_DIALECT}Information - ASM${ASM_DIALECT} support is still experimental, please report issues")
|
||||||
|
|
||||||
IF(UNIX)
|
IF(UNIX)
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2008-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# support for the MS assembler, masm and masm64
|
# support for the MS assembler, masm and masm64
|
||||||
|
|
||||||
SET(ASM_DIALECT "_MASM")
|
SET(ASM_DIALECT "_MASM")
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2002-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# Nothing here yet
|
# Nothing here yet
|
||||||
IF(CMAKE_GENERATOR MATCHES "Visual Studio 7")
|
IF(CMAKE_GENERATOR MATCHES "Visual Studio 7")
|
||||||
INCLUDE(CMakeVS7BackwardCompatibility)
|
INCLUDE(CMakeVS7BackwardCompatibility)
|
||||||
|
|
|
@ -5,6 +5,20 @@
|
||||||
# INCLUDE(CheckIncludeFileCXX)
|
# INCLUDE(CheckIncludeFileCXX)
|
||||||
# INCLUDE(TestForSTDNamespace)
|
# INCLUDE(TestForSTDNamespace)
|
||||||
# INCLUDE(TestForANSIForScope)
|
# INCLUDE(TestForANSIForScope)
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2002-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
IF(NOT CMAKE_SKIP_COMPATIBILITY_TESTS)
|
IF(NOT CMAKE_SKIP_COMPATIBILITY_TESTS)
|
||||||
# check for some ANSI flags in the CXX compiler if it is not gnu
|
# check for some ANSI flags in the CXX compiler if it is not gnu
|
||||||
IF(NOT CMAKE_COMPILER_IS_GNUCXX)
|
IF(NOT CMAKE_COMPILER_IS_GNUCXX)
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2002-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
SET (CMAKE_MAKE_PROGRAM "make" CACHE STRING
|
SET (CMAKE_MAKE_PROGRAM "make" CACHE STRING
|
||||||
"Program used to build from makefiles.")
|
"Program used to build from makefiles.")
|
||||||
MARK_AS_ADVANCED(CMAKE_MAKE_PROGRAM)
|
MARK_AS_ADVANCED(CMAKE_MAKE_PROGRAM)
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2004-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# This file sets the basic flags for the C language in CMake.
|
# This file sets the basic flags for the C language in CMake.
|
||||||
# It also loads the available platform file for the system-compiler
|
# It also loads the available platform file for the system-compiler
|
||||||
# if it exists.
|
# if it exists.
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2004-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# This file sets the basic flags for the C++ language in CMake.
|
# This file sets the basic flags for the C++ language in CMake.
|
||||||
# It also loads the available platform file for the system-compiler
|
# It also loads the available platform file for the system-compiler
|
||||||
# if it exists.
|
# if it exists.
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2004-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# this file has flags that are shared across languages and sets
|
# this file has flags that are shared across languages and sets
|
||||||
# cache values that can be initialized in the platform-compiler.cmake file
|
# cache values that can be initialized in the platform-compiler.cmake file
|
||||||
# it may be included by more than one language.
|
# it may be included by more than one language.
|
||||||
|
|
|
@ -11,6 +11,20 @@
|
||||||
# the status of USE_BAR or USE_ZOT ever changes, any value for the
|
# the status of USE_BAR or USE_ZOT ever changes, any value for the
|
||||||
# USE_FOO option is saved so that when the option is re-enabled it
|
# USE_FOO option is saved so that when the option is re-enabled it
|
||||||
# retains its old value.
|
# retains its old value.
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2006-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
MACRO(CMAKE_DEPENDENT_OPTION option doc default depends force)
|
MACRO(CMAKE_DEPENDENT_OPTION option doc default depends force)
|
||||||
IF(${option}_ISSET MATCHES "^${option}_ISSET$")
|
IF(${option}_ISSET MATCHES "^${option}_ISSET$")
|
||||||
SET(${option}_AVAILABLE 1)
|
SET(${option}_AVAILABLE 1)
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2007-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# determine the compiler to use for ASM using AT&T syntax, e.g. GNU as
|
# determine the compiler to use for ASM using AT&T syntax, e.g. GNU as
|
||||||
|
|
||||||
SET(ASM_DIALECT "-ATT")
|
SET(ASM_DIALECT "-ATT")
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2007-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# determine the compiler to use for ASM programs
|
# determine the compiler to use for ASM programs
|
||||||
|
|
||||||
IF(NOT CMAKE_ASM${ASM_DIALECT}_COMPILER)
|
IF(NOT CMAKE_ASM${ASM_DIALECT}_COMPILER)
|
||||||
|
@ -21,7 +35,7 @@ IF(NOT CMAKE_ASM${ASM_DIALECT}_COMPILER)
|
||||||
|
|
||||||
ELSE(NOT CMAKE_ASM${ASM_DIALECT}_COMPILER)
|
ELSE(NOT CMAKE_ASM${ASM_DIALECT}_COMPILER)
|
||||||
|
|
||||||
# we only get here if CMAKE_C_COMPILER was specified using -D or a pre-made CMakeCache.txt
|
# we only get here if CMAKE_ASM${ASM_DIALECT}_COMPILER was specified using -D or a pre-made CMakeCache.txt
|
||||||
# (e.g. via ctest) or set in CMAKE_TOOLCHAIN_FILE
|
# (e.g. via ctest) or set in CMAKE_TOOLCHAIN_FILE
|
||||||
#
|
#
|
||||||
# if a compiler was specified by the user but without path,
|
# if a compiler was specified by the user but without path,
|
||||||
|
@ -43,11 +57,11 @@ IF (NOT _CMAKE_TOOLCHAIN_LOCATION)
|
||||||
GET_FILENAME_COMPONENT(_CMAKE_TOOLCHAIN_LOCATION "${CMAKE_ASM${ASM_DIALECT}_COMPILER}" PATH)
|
GET_FILENAME_COMPONENT(_CMAKE_TOOLCHAIN_LOCATION "${CMAKE_ASM${ASM_DIALECT}_COMPILER}" PATH)
|
||||||
ENDIF (NOT _CMAKE_TOOLCHAIN_LOCATION)
|
ENDIF (NOT _CMAKE_TOOLCHAIN_LOCATION)
|
||||||
|
|
||||||
# If we have a gcc cross compiler, they have usually some prefix, like
|
# If we have a gas/as cross compiler, they have usually some prefix, like
|
||||||
# e.g. powerpc-linux-gcc, arm-elf-gcc or i586-mingw32msvc-gcc .
|
# e.g. powerpc-linux-gas, arm-elf-gas or i586-mingw32msvc-gas .
|
||||||
# The other tools of the toolchain usually have the same prefix
|
# The other tools of the toolchain usually have the same prefix
|
||||||
# NAME_WE cannot be used since then this test will fail for names lile
|
# NAME_WE cannot be used since then this test will fail for names lile
|
||||||
# "arm-unknown-nto-qnx6.3.0-gcc.exe", where BASENAME would be
|
# "arm-unknown-nto-qnx6.3.0-gas.exe", where BASENAME would be
|
||||||
# "arm-unknown-nto-qnx6" instead of the correct "arm-unknown-nto-qnx6.3.0-"
|
# "arm-unknown-nto-qnx6" instead of the correct "arm-unknown-nto-qnx6.3.0-"
|
||||||
IF (NOT _CMAKE_TOOLCHAIN_PREFIX)
|
IF (NOT _CMAKE_TOOLCHAIN_PREFIX)
|
||||||
GET_FILENAME_COMPONENT(COMPILER_BASENAME "${CMAKE_ASM${ASM_DIALECT}_COMPILER}" NAME)
|
GET_FILENAME_COMPONENT(COMPILER_BASENAME "${CMAKE_ASM${ASM_DIALECT}_COMPILER}" NAME)
|
||||||
|
@ -58,7 +72,7 @@ ENDIF (NOT _CMAKE_TOOLCHAIN_PREFIX)
|
||||||
|
|
||||||
INCLUDE(CMakeFindBinUtils)
|
INCLUDE(CMakeFindBinUtils)
|
||||||
|
|
||||||
SET(CMAKE_ASM${ASM_DIALECT}_COMPILER_ENV_VAR "ASM")
|
SET(CMAKE_ASM${ASM_DIALECT}_COMPILER_ENV_VAR "ASM${ASM_DIALECT}")
|
||||||
|
|
||||||
IF(CMAKE_ASM${ASM_DIALECT}_COMPILER)
|
IF(CMAKE_ASM${ASM_DIALECT}_COMPILER)
|
||||||
MESSAGE(STATUS "Found assembler: ${CMAKE_ASM${ASM_DIALECT}_COMPILER}")
|
MESSAGE(STATUS "Found assembler: ${CMAKE_ASM${ASM_DIALECT}_COMPILER}")
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2008-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# Find the MS assembler (masm or masm64)
|
# Find the MS assembler (masm or masm64)
|
||||||
|
|
||||||
SET(ASM_DIALECT "_MASM")
|
SET(ASM_DIALECT "_MASM")
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2002-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# determine the compiler to use for C programs
|
# determine the compiler to use for C programs
|
||||||
# NOTE, a generator may set CMAKE_C_COMPILER before
|
# NOTE, a generator may set CMAKE_C_COMPILER before
|
||||||
# loading this file to force a compiler.
|
# loading this file to force a compiler.
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2002-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# determine the compiler to use for C++ programs
|
# determine the compiler to use for C++ programs
|
||||||
# NOTE, a generator may set CMAKE_CXX_COMPILER before
|
# NOTE, a generator may set CMAKE_CXX_COMPILER before
|
||||||
# loading this file to force a compiler.
|
# loading this file to force a compiler.
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2008-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# Function to compile a source file to identify the compiler ABI.
|
# Function to compile a source file to identify the compiler ABI.
|
||||||
# This is used internally by CMake and should not be included by user
|
# This is used internally by CMake and should not be included by user
|
||||||
# code.
|
# code.
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2007-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# Function to compile a source file to identify the compiler. This is
|
# Function to compile a source file to identify the compiler. This is
|
||||||
# used internally by CMake and should not be included by user code.
|
# used internally by CMake and should not be included by user code.
|
||||||
# If successful, sets CMAKE_<lang>_COMPILER_ID and CMAKE_<lang>_PLATFORM_ID
|
# If successful, sets CMAKE_<lang>_COMPILER_ID and CMAKE_<lang>_PLATFORM_ID
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2004-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# determine the compiler to use for Fortran programs
|
# determine the compiler to use for Fortran programs
|
||||||
# NOTE, a generator may set CMAKE_Fortran_COMPILER before
|
# NOTE, a generator may set CMAKE_Fortran_COMPILER before
|
||||||
# loading this file to force a compiler.
|
# loading this file to force a compiler.
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2002-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# determine the compiler to use for Java programs
|
# determine the compiler to use for Java programs
|
||||||
# NOTE, a generator may set CMAKE_Java_COMPILER before
|
# NOTE, a generator may set CMAKE_Java_COMPILER before
|
||||||
# loading this file to force a compiler.
|
# loading this file to force a compiler.
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2004-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# determine the compiler to use for C programs
|
# determine the compiler to use for C programs
|
||||||
# NOTE, a generator may set CMAKE_C_COMPILER before
|
# NOTE, a generator may set CMAKE_C_COMPILER before
|
||||||
# loading this file to force a compiler.
|
# loading this file to force a compiler.
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2002-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# This module is used by the Makefile generator to determin the following variables:
|
# This module is used by the Makefile generator to determin the following variables:
|
||||||
# CMAKE_SYSTEM_NAME - on unix this is uname -s, for windows it is Windows
|
# CMAKE_SYSTEM_NAME - on unix this is uname -s, for windows it is Windows
|
||||||
# CMAKE_SYSTEM_VERSION - on unix this is uname -r, for windows it is empty
|
# CMAKE_SYSTEM_VERSION - on unix this is uname -r, for windows it is empty
|
||||||
|
|
|
@ -21,7 +21,21 @@
|
||||||
# endif()
|
# endif()
|
||||||
#
|
#
|
||||||
# ===========================
|
# ===========================
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2009 Kitware, Inc.
|
||||||
|
# Copyright 2009 Philip Lowman <philip@yhbt.com>
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# [INTERNAL]
|
# [INTERNAL]
|
||||||
# Please do not call this function directly
|
# Please do not call this function directly
|
||||||
function(_DetermineVSServicePackFromCompiler _OUT_VAR _cl_version)
|
function(_DetermineVSServicePackFromCompiler _OUT_VAR _cl_version)
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2002-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# This module is purposely no longer documented. It does nothing useful.
|
# This module is purposely no longer documented. It does nothing useful.
|
||||||
IF(NOT "${CMAKE_MINIMUM_REQUIRED_VERSION}" VERSION_LESS 2.7)
|
IF(NOT "${CMAKE_MINIMUM_REQUIRED_VERSION}" VERSION_LESS 2.7)
|
||||||
MESSAGE(FATAL_ERROR
|
MESSAGE(FATAL_ERROR
|
||||||
|
|
|
@ -16,6 +16,18 @@
|
||||||
|
|
||||||
# on UNIX, cygwin and mingw
|
# on UNIX, cygwin and mingw
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2007-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# if it's the MS C/CXX compiler, search for link
|
# if it's the MS C/CXX compiler, search for link
|
||||||
IF("${CMAKE_CXX_COMPILER_ID}" MATCHES "MSVC"
|
IF("${CMAKE_CXX_COMPILER_ID}" MATCHES "MSVC"
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# This file is included in CMakeSystemSpecificInformation.cmake if
|
# This file is included in CMakeSystemSpecificInformation.cmake if
|
||||||
# the CodeBlocks extra generator has been selected.
|
# the CodeBlocks extra generator has been selected.
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# This file is included in CMakeSystemSpecificInformation.cmake if
|
# This file is included in CMakeSystemSpecificInformation.cmake if
|
||||||
# the Eclipse CDT4 extra generator has been selected.
|
# the Eclipse CDT4 extra generator has been selected.
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,18 @@
|
||||||
# - helper module to find OSX frameworks
|
# - helper module to find OSX frameworks
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2003-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
IF(NOT CMAKE_FIND_FRAMEWORKS_INCLUDED)
|
IF(NOT CMAKE_FIND_FRAMEWORKS_INCLUDED)
|
||||||
SET(CMAKE_FIND_FRAMEWORKS_INCLUDED 1)
|
SET(CMAKE_FIND_FRAMEWORKS_INCLUDED 1)
|
||||||
MACRO(CMAKE_FIND_FRAMEWORKS fwk)
|
MACRO(CMAKE_FIND_FRAMEWORKS fwk)
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# This file is included in CMakeSystemSpecificInformation.cmake if
|
# This file is included in CMakeSystemSpecificInformation.cmake if
|
||||||
# the KDevelop3 extra generator has been selected.
|
# the KDevelop3 extra generator has been selected.
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2006-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
SET (CMAKE_MAKE_PROGRAM "wmake" CACHE STRING
|
SET (CMAKE_MAKE_PROGRAM "wmake" CACHE STRING
|
||||||
"Program used to build from makefiles.")
|
"Program used to build from makefiles.")
|
||||||
MARK_AS_ADVANCED(CMAKE_MAKE_PROGRAM)
|
MARK_AS_ADVANCED(CMAKE_MAKE_PROGRAM)
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2005-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
FIND_PROGRAM(CMAKE_MAKE_PROGRAM
|
FIND_PROGRAM(CMAKE_MAKE_PROGRAM
|
||||||
NAMES xcodebuild
|
NAMES xcodebuild
|
||||||
PATHS
|
PATHS
|
||||||
|
|
|
@ -22,6 +22,19 @@
|
||||||
# CMAKE_FORCE_C_COMPILER (chc12 MetrowerksHicross)
|
# CMAKE_FORCE_C_COMPILER (chc12 MetrowerksHicross)
|
||||||
# CMAKE_FORCE_CXX_COMPILER (chc12 MetrowerksHicross)
|
# CMAKE_FORCE_CXX_COMPILER (chc12 MetrowerksHicross)
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2007-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
MACRO(CMAKE_FORCE_C_COMPILER compiler id)
|
MACRO(CMAKE_FORCE_C_COMPILER compiler id)
|
||||||
SET(CMAKE_C_COMPILER "${compiler}")
|
SET(CMAKE_C_COMPILER "${compiler}")
|
||||||
SET(CMAKE_C_COMPILER_ID_RUN TRUE)
|
SET(CMAKE_C_COMPILER_ID_RUN TRUE)
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2004-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# This file sets the basic flags for the Fortran language in CMake.
|
# This file sets the basic flags for the Fortran language in CMake.
|
||||||
# It also loads the available platform file for the system-compiler
|
# It also loads the available platform file for the system-compiler
|
||||||
# if it exists.
|
# if it exists.
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2004-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
SET(CMAKE_SHARED_LIBRARY_C_FLAGS "") # -pic
|
SET(CMAKE_SHARED_LIBRARY_C_FLAGS "") # -pic
|
||||||
SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared") # -shared
|
SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared") # -shared
|
||||||
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") # +s, flag for exe link to use shared lib
|
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") # +s, flag for exe link to use shared lib
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2002-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# This module is purposely no longer documented. It does nothing useful.
|
# This module is purposely no longer documented. It does nothing useful.
|
||||||
|
|
||||||
# This macro used to load build settings from another project that
|
# This macro used to load build settings from another project that
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2004-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# This should be included before the _INIT variables are
|
# This should be included before the _INIT variables are
|
||||||
# used to initialize the cache. Since the rule variables
|
# used to initialize the cache. Since the rule variables
|
||||||
# have if blocks on them, users can still define them here.
|
# have if blocks on them, users can still define them here.
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2005-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
FIND_PROGRAM(CMAKE_MAKE_PROGRAM make
|
FIND_PROGRAM(CMAKE_MAKE_PROGRAM make
|
||||||
PATHS
|
PATHS
|
||||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\MSYS-1.0_is1;Inno Setup: App Path]/bin"
|
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\MSYS-1.0_is1;Inno Setup: App Path]/bin"
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2005-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
FIND_PROGRAM(CMAKE_MAKE_PROGRAM mingw32-make.exe PATHS
|
FIND_PROGRAM(CMAKE_MAKE_PROGRAM mingw32-make.exe PATHS
|
||||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\MinGW;InstallLocation]/bin"
|
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\MinGW;InstallLocation]/bin"
|
||||||
c:/MinGW/bin /MinGW/bin)
|
c:/MinGW/bin /MinGW/bin)
|
||||||
|
|
|
@ -1,3 +1,18 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2002-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
|
|
||||||
SET (CMAKE_MAKE_PROGRAM "nmake" CACHE STRING
|
SET (CMAKE_MAKE_PROGRAM "nmake" CACHE STRING
|
||||||
"Program used to build from makefiles.")
|
"Program used to build from makefiles.")
|
||||||
MARK_AS_ADVANCED(CMAKE_MAKE_PROGRAM)
|
MARK_AS_ADVANCED(CMAKE_MAKE_PROGRAM)
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# Function parse implicit linker options.
|
# Function parse implicit linker options.
|
||||||
# This is used internally by CMake and should not be included by user
|
# This is used internally by CMake and should not be included by user
|
||||||
# code.
|
# code.
|
||||||
|
|
|
@ -3,6 +3,19 @@
|
||||||
# just include it in a project to see various internal CMake
|
# just include it in a project to see various internal CMake
|
||||||
# variables.
|
# variables.
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2002-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
MESSAGE("CMAKE_SYSTEM is ${CMAKE_SYSTEM} ${CMAKE_SYSTEM_NAME} ${CMAKE_SYSTEM_VERSION}")
|
MESSAGE("CMAKE_SYSTEM is ${CMAKE_SYSTEM} ${CMAKE_SYSTEM_NAME} ${CMAKE_SYSTEM_VERSION}")
|
||||||
MESSAGE("CMAKE_SYSTEM file is ${CMAKE_SYSTEM_INFO_FILE}")
|
MESSAGE("CMAKE_SYSTEM file is ${CMAKE_SYSTEM_INFO_FILE}")
|
||||||
MESSAGE("CMAKE_C_COMPILER is ${CMAKE_C_COMPILER}")
|
MESSAGE("CMAKE_C_COMPILER is ${CMAKE_C_COMPILER}")
|
||||||
|
|
|
@ -1,4 +1,18 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2004-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
|
|
||||||
# This file sets the basic flags for the Fortran language in CMake.
|
# This file sets the basic flags for the Fortran language in CMake.
|
||||||
# It also loads the available platform file for the system-compiler
|
# It also loads the available platform file for the system-compiler
|
||||||
# if it exists.
|
# if it exists.
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2002-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# This file is included by cmGlobalGenerator::EnableLanguage.
|
# This file is included by cmGlobalGenerator::EnableLanguage.
|
||||||
# It is included after the compiler has been determined, so
|
# It is included after the compiler has been determined, so
|
||||||
# we know things like the compiler name and if the compiler is gnu.
|
# we know things like the compiler name and if the compiler is gnu.
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2007-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# This file is used by EnableLanguage in cmGlobalGenerator to
|
# This file is used by EnableLanguage in cmGlobalGenerator to
|
||||||
# determine that that selected ASM-ATT compiler can actually compile
|
# determine that that selected ASM-ATT compiler can actually compile
|
||||||
# and link the most basic of programs. If not, a fatal error
|
# and link the most basic of programs. If not, a fatal error
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2007-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# This file is used by EnableLanguage in cmGlobalGenerator to
|
# This file is used by EnableLanguage in cmGlobalGenerator to
|
||||||
# determine that that selected ASM compiler can actually compile
|
# determine that that selected ASM compiler can actually compile
|
||||||
# and link the most basic of programs. If not, a fatal error
|
# and link the most basic of programs. If not, a fatal error
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2008-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# This file is used by EnableLanguage in cmGlobalGenerator to
|
# This file is used by EnableLanguage in cmGlobalGenerator to
|
||||||
# determine that the selected ASM_MASM "compiler" (should be masm or masm64)
|
# determine that the selected ASM_MASM "compiler" (should be masm or masm64)
|
||||||
# can actually "compile" and link the most basic of programs. If not, a
|
# can actually "compile" and link the most basic of programs. If not, a
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2003-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# This file is used by EnableLanguage in cmGlobalGenerator to
|
# This file is used by EnableLanguage in cmGlobalGenerator to
|
||||||
# determine that that selected C compiler can actually compile
|
# determine that that selected C compiler can actually compile
|
||||||
# and link the most basic of programs. If not, a fatal error
|
# and link the most basic of programs. If not, a fatal error
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2003-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# This file is used by EnableLanguage in cmGlobalGenerator to
|
# This file is used by EnableLanguage in cmGlobalGenerator to
|
||||||
# determine that that selected C++ compiler can actually compile
|
# determine that that selected C++ compiler can actually compile
|
||||||
# and link the most basic of programs. If not, a fatal error
|
# and link the most basic of programs. If not, a fatal error
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2004-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# This file is used by EnableLanguage in cmGlobalGenerator to
|
# This file is used by EnableLanguage in cmGlobalGenerator to
|
||||||
# determine that that selected Fortran compiler can actually compile
|
# determine that that selected Fortran compiler can actually compile
|
||||||
# and link the most basic of programs. If not, a fatal error
|
# and link the most basic of programs. If not, a fatal error
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2004-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# This file is used by EnableLanguage in cmGlobalGenerator to
|
# This file is used by EnableLanguage in cmGlobalGenerator to
|
||||||
# determine that that selected Fortran compiler can actually compile
|
# determine that that selected Fortran compiler can actually compile
|
||||||
# and link the most basic of programs. If not, a fatal error
|
# and link the most basic of programs. If not, a fatal error
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2004-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# This file is used by EnableLanguage in cmGlobalGenerator to
|
# This file is used by EnableLanguage in cmGlobalGenerator to
|
||||||
# determine that that selected RC compiler can actually compile
|
# determine that that selected RC compiler can actually compile
|
||||||
# and link the most basic of programs. If not, a fatal error
|
# and link the most basic of programs. If not, a fatal error
|
||||||
|
|
|
@ -1,2 +1,16 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2002-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
FIND_PROGRAM(CMAKE_MAKE_PROGRAM NAMES gmake make smake)
|
FIND_PROGRAM(CMAKE_MAKE_PROGRAM NAMES gmake make smake)
|
||||||
MARK_AS_ADVANCED(CMAKE_MAKE_PROGRAM)
|
MARK_AS_ADVANCED(CMAKE_MAKE_PROGRAM)
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# VCExpress does not support cross compiling, which is necessary for Win CE
|
# VCExpress does not support cross compiling, which is necessary for Win CE
|
||||||
SET( _CMAKE_MAKE_PROGRAM_NAMES devenv)
|
SET( _CMAKE_MAKE_PROGRAM_NAMES devenv)
|
||||||
IF(NOT CMAKE_CROSSCOMPILING)
|
IF(NOT CMAKE_CROSSCOMPILING)
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2002-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# hard code these for fast backwards compatibility tests
|
# hard code these for fast backwards compatibility tests
|
||||||
SET (CMAKE_SIZEOF_INT 4 CACHE INTERNAL "Size of int data type")
|
SET (CMAKE_SIZEOF_INT 4 CACHE INTERNAL "Size of int data type")
|
||||||
SET (CMAKE_SIZEOF_LONG 4 CACHE INTERNAL "Size of long data type")
|
SET (CMAKE_SIZEOF_LONG 4 CACHE INTERNAL "Size of long data type")
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2002-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
FIND_PROGRAM(CMAKE_MAKE_PROGRAM
|
FIND_PROGRAM(CMAKE_MAKE_PROGRAM
|
||||||
NAMES msdev
|
NAMES msdev
|
||||||
PATHS
|
PATHS
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2003-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
FIND_PROGRAM(CMAKE_MAKE_PROGRAM
|
FIND_PROGRAM(CMAKE_MAKE_PROGRAM
|
||||||
NAMES devenv
|
NAMES devenv
|
||||||
PATHS
|
PATHS
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2002-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# hard code these for fast backwards compatibility tests
|
# hard code these for fast backwards compatibility tests
|
||||||
SET (CMAKE_SIZEOF_INT 4 CACHE INTERNAL "Size of int data type")
|
SET (CMAKE_SIZEOF_INT 4 CACHE INTERNAL "Size of int data type")
|
||||||
SET (CMAKE_SIZEOF_LONG 4 CACHE INTERNAL "Size of long data type")
|
SET (CMAKE_SIZEOF_LONG 4 CACHE INTERNAL "Size of long data type")
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2002-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
FIND_PROGRAM(CMAKE_MAKE_PROGRAM
|
FIND_PROGRAM(CMAKE_MAKE_PROGRAM
|
||||||
NAMES devenv
|
NAMES devenv
|
||||||
PATHS
|
PATHS
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2004-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# VCExpress does not support cross compiling, which is necessary for Win CE
|
# VCExpress does not support cross compiling, which is necessary for Win CE
|
||||||
SET( _CMAKE_MAKE_PROGRAM_NAMES devenv)
|
SET( _CMAKE_MAKE_PROGRAM_NAMES devenv)
|
||||||
IF(NOT CMAKE_CROSSCOMPILING)
|
IF(NOT CMAKE_CROSSCOMPILING)
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2007-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# VCExpress does not support cross compiling, which is necessary for Win CE
|
# VCExpress does not support cross compiling, which is necessary for Win CE
|
||||||
SET( _CMAKE_MAKE_PROGRAM_NAMES devenv)
|
SET( _CMAKE_MAKE_PROGRAM_NAMES devenv)
|
||||||
IF(NOT CMAKE_CROSSCOMPILING)
|
IF(NOT CMAKE_CROSSCOMPILING)
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
Redistribution and use in source and binary forms, with or without
|
|
||||||
modification, are permitted provided that the following conditions
|
|
||||||
are met:
|
|
||||||
|
|
||||||
1. Redistributions of source code must retain the copyright
|
|
||||||
notice, this list of conditions and the following disclaimer.
|
|
||||||
2. Redistributions in binary form must reproduce the copyright
|
|
||||||
notice, this list of conditions and the following disclaimer in the
|
|
||||||
documentation and/or other materials provided with the distribution.
|
|
||||||
3. The name of the author may not be used to endorse or promote products
|
|
||||||
derived from this software without specific prior written permission.
|
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|
||||||
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
||||||
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
||||||
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
||||||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
||||||
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
||||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
||||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
||||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
||||||
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
@ -389,6 +389,18 @@
|
||||||
# "Modify" button) to change the set of installed components. NO_ADD_REMOVE
|
# "Modify" button) to change the set of installed components. NO_ADD_REMOVE
|
||||||
# turns off this behavior. This option is ignored on Mac OS X.
|
# turns off this behavior. This option is ignored on Mac OS X.
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2006-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# Pick a configuration file
|
# Pick a configuration file
|
||||||
SET(cpack_input_file "${CMAKE_ROOT}/Templates/CPackConfig.cmake.in")
|
SET(cpack_input_file "${CMAKE_ROOT}/Templates/CPackConfig.cmake.in")
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2007-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# CPack script for creating Debian package
|
# CPack script for creating Debian package
|
||||||
# Author: Mathieu Malaterre
|
# Author: Mathieu Malaterre
|
||||||
#
|
#
|
||||||
|
|
|
@ -70,6 +70,19 @@
|
||||||
# during CPack RPM run. For example you may launch CPack like this
|
# during CPack RPM run. For example you may launch CPack like this
|
||||||
# cpack -D CPACK_RPM_PACKAGE_DEBUG=1 -G RPM
|
# cpack -D CPACK_RPM_PACKAGE_DEBUG=1 -G RPM
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2007-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# Author: Eric Noulard with the help of Alexander Neundorf.
|
# Author: Eric Noulard with the help of Alexander Neundorf.
|
||||||
|
|
||||||
IF(CMAKE_BINARY_DIR)
|
IF(CMAKE_BINARY_DIR)
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2007-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
IF(CMAKE_BINARY_DIR)
|
IF(CMAKE_BINARY_DIR)
|
||||||
MESSAGE(FATAL_ERROR "CPackZIP.cmake may only be used by CPack internally.")
|
MESSAGE(FATAL_ERROR "CPackZIP.cmake may only be used by CPack internally.")
|
||||||
ENDIF(CMAKE_BINARY_DIR)
|
ENDIF(CMAKE_BINARY_DIR)
|
||||||
|
|
|
@ -9,6 +9,19 @@
|
||||||
# The BUILD_TESTING option is created by the CTest module to determine
|
# The BUILD_TESTING option is created by the CTest module to determine
|
||||||
# whether testing support should be enabled. The default is ON.
|
# whether testing support should be enabled. The default is ON.
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2005-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
OPTION(BUILD_TESTING "Build the testing tree." ON)
|
OPTION(BUILD_TESTING "Build the testing tree." ON)
|
||||||
|
|
||||||
# function to turn generator name into a version string
|
# function to turn generator name into a version string
|
||||||
|
|
|
@ -1,5 +1,19 @@
|
||||||
# This file is read by ctest in script mode (-S)
|
# This file is read by ctest in script mode (-S)
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2009 Kitware, Inc.
|
||||||
|
# Copyright 2009 Alexander Neundorf <neundorf@kde.org>
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
# Determine the current system, so this information can be used
|
# Determine the current system, so this information can be used
|
||||||
# in ctest scripts
|
# in ctest scripts
|
||||||
include(CMakeDetermineSystem)
|
include(CMakeDetermineSystem)
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2005-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
IF(NOT RUN_FROM_CTEST_OR_DART)
|
IF(NOT RUN_FROM_CTEST_OR_DART)
|
||||||
MESSAGE(FATAL_ERROR "Do not incldue CTestTargets.cmake directly")
|
MESSAGE(FATAL_ERROR "Do not incldue CTestTargets.cmake directly")
|
||||||
ENDIF(NOT RUN_FROM_CTEST_OR_DART)
|
ENDIF(NOT RUN_FROM_CTEST_OR_DART)
|
||||||
|
|
|
@ -6,11 +6,19 @@
|
||||||
# See help for CheckCSourceCompiles for a listing of variables
|
# See help for CheckCSourceCompiles for a listing of variables
|
||||||
# that can modify the build.
|
# that can modify the build.
|
||||||
|
|
||||||
# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org>
|
#=============================================================================
|
||||||
|
# Copyright 2006-2009 Kitware, Inc.
|
||||||
|
# Copyright 2006 Alexander Neundorf <neundorf@kde.org>
|
||||||
#
|
#
|
||||||
# Redistribution and use is allowed according to the terms of the BSD license.
|
# Distributed under the OSI-approved BSD License (the "License");
|
||||||
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
INCLUDE(CheckCSourceCompiles)
|
INCLUDE(CheckCSourceCompiles)
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,19 @@
|
||||||
# CMAKE_REQUIRED_INCLUDES = list of include directories
|
# CMAKE_REQUIRED_INCLUDES = list of include directories
|
||||||
# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
|
# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2005-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
MACRO(CHECK_C_SOURCE_COMPILES SOURCE VAR)
|
MACRO(CHECK_C_SOURCE_COMPILES SOURCE VAR)
|
||||||
IF("${VAR}" MATCHES "^${VAR}$")
|
IF("${VAR}" MATCHES "^${VAR}$")
|
||||||
SET(_FAIL_REGEX)
|
SET(_FAIL_REGEX)
|
||||||
|
|
|
@ -11,6 +11,19 @@
|
||||||
# CMAKE_REQUIRED_INCLUDES = list of include directories
|
# CMAKE_REQUIRED_INCLUDES = list of include directories
|
||||||
# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
|
# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2006-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
MACRO(CHECK_C_SOURCE_RUNS SOURCE VAR)
|
MACRO(CHECK_C_SOURCE_RUNS SOURCE VAR)
|
||||||
IF("${VAR}" MATCHES "^${VAR}$")
|
IF("${VAR}" MATCHES "^${VAR}$")
|
||||||
SET(MACRO_CHECK_FUNCTION_DEFINITIONS
|
SET(MACRO_CHECK_FUNCTION_DEFINITIONS
|
||||||
|
|
|
@ -6,11 +6,19 @@
|
||||||
# for CheckCXXSourceCompiles for a listing of variables that can
|
# for CheckCXXSourceCompiles for a listing of variables that can
|
||||||
# modify the build.
|
# modify the build.
|
||||||
|
|
||||||
# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org>
|
#=============================================================================
|
||||||
|
# Copyright 2006-2009 Kitware, Inc.
|
||||||
|
# Copyright 2006 Alexander Neundorf <neundorf@kde.org>
|
||||||
#
|
#
|
||||||
# Redistribution and use is allowed according to the terms of the BSD license.
|
# Distributed under the OSI-approved BSD License (the "License");
|
||||||
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
INCLUDE(CheckCXXSourceCompiles)
|
INCLUDE(CheckCXXSourceCompiles)
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,19 @@
|
||||||
# CMAKE_REQUIRED_INCLUDES = list of include directories
|
# CMAKE_REQUIRED_INCLUDES = list of include directories
|
||||||
# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
|
# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2005-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
MACRO(CHECK_CXX_SOURCE_COMPILES SOURCE VAR)
|
MACRO(CHECK_CXX_SOURCE_COMPILES SOURCE VAR)
|
||||||
IF("${VAR}" MATCHES "^${VAR}$")
|
IF("${VAR}" MATCHES "^${VAR}$")
|
||||||
SET(_FAIL_REGEX)
|
SET(_FAIL_REGEX)
|
||||||
|
|
|
@ -11,6 +11,19 @@
|
||||||
# CMAKE_REQUIRED_INCLUDES = list of include directories
|
# CMAKE_REQUIRED_INCLUDES = list of include directories
|
||||||
# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
|
# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2006-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
MACRO(CHECK_CXX_SOURCE_RUNS SOURCE VAR)
|
MACRO(CHECK_CXX_SOURCE_RUNS SOURCE VAR)
|
||||||
IF("${VAR}" MATCHES "^${VAR}$")
|
IF("${VAR}" MATCHES "^${VAR}$")
|
||||||
SET(MACRO_CHECK_FUNCTION_DEFINITIONS
|
SET(MACRO_CHECK_FUNCTION_DEFINITIONS
|
||||||
|
|
|
@ -9,6 +9,19 @@
|
||||||
#
|
#
|
||||||
# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
|
# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2007-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
macro(CHECK_FORTRAN_FUNCTION_EXISTS FUNCTION VARIABLE)
|
macro(CHECK_FORTRAN_FUNCTION_EXISTS FUNCTION VARIABLE)
|
||||||
if(NOT DEFINED ${VARIABLE})
|
if(NOT DEFINED ${VARIABLE})
|
||||||
message(STATUS "Looking for Fortran ${FUNCTION}")
|
message(STATUS "Looking for Fortran ${FUNCTION}")
|
||||||
|
|
|
@ -12,6 +12,19 @@
|
||||||
# CMAKE_REQUIRED_INCLUDES = list of include directories
|
# CMAKE_REQUIRED_INCLUDES = list of include directories
|
||||||
# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
|
# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2002-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
MACRO(CHECK_FUNCTION_EXISTS FUNCTION VARIABLE)
|
MACRO(CHECK_FUNCTION_EXISTS FUNCTION VARIABLE)
|
||||||
IF("${VARIABLE}" MATCHES "^${VARIABLE}$")
|
IF("${VARIABLE}" MATCHES "^${VARIABLE}$")
|
||||||
SET(MACRO_CHECK_FUNCTION_DEFINITIONS
|
SET(MACRO_CHECK_FUNCTION_DEFINITIONS
|
||||||
|
|
|
@ -14,6 +14,20 @@
|
||||||
# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
|
# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
|
||||||
# CMAKE_REQUIRED_INCLUDES = list of include directories
|
# CMAKE_REQUIRED_INCLUDES = list of include directories
|
||||||
#
|
#
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2002-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
MACRO(CHECK_INCLUDE_FILE INCLUDE VARIABLE)
|
MACRO(CHECK_INCLUDE_FILE INCLUDE VARIABLE)
|
||||||
IF("${VARIABLE}" MATCHES "^${VARIABLE}$")
|
IF("${VARIABLE}" MATCHES "^${VARIABLE}$")
|
||||||
IF(CMAKE_REQUIRED_INCLUDES)
|
IF(CMAKE_REQUIRED_INCLUDES)
|
||||||
|
|
|
@ -14,6 +14,20 @@
|
||||||
# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
|
# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
|
||||||
# CMAKE_REQUIRED_INCLUDES = list of include directories
|
# CMAKE_REQUIRED_INCLUDES = list of include directories
|
||||||
#
|
#
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2002-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
MACRO(CHECK_INCLUDE_FILE_CXX INCLUDE VARIABLE)
|
MACRO(CHECK_INCLUDE_FILE_CXX INCLUDE VARIABLE)
|
||||||
IF("${VARIABLE}" MATCHES "^${VARIABLE}$")
|
IF("${VARIABLE}" MATCHES "^${VARIABLE}$")
|
||||||
IF(CMAKE_REQUIRED_INCLUDES)
|
IF(CMAKE_REQUIRED_INCLUDES)
|
||||||
|
|
|
@ -12,6 +12,19 @@
|
||||||
# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
|
# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
|
||||||
# CMAKE_REQUIRED_INCLUDES = list of include directories
|
# CMAKE_REQUIRED_INCLUDES = list of include directories
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2003-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
MACRO(CHECK_INCLUDE_FILES INCLUDE VARIABLE)
|
MACRO(CHECK_INCLUDE_FILES INCLUDE VARIABLE)
|
||||||
IF("${VARIABLE}" MATCHES "^${VARIABLE}$")
|
IF("${VARIABLE}" MATCHES "^${VARIABLE}$")
|
||||||
SET(CMAKE_CONFIGURABLE_FILE_CONTENT "/* */\n")
|
SET(CMAKE_CONFIGURABLE_FILE_CONTENT "/* */\n")
|
||||||
|
|
|
@ -13,6 +13,19 @@
|
||||||
# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
|
# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
|
||||||
# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
|
# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2002-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
MACRO(CHECK_LIBRARY_EXISTS LIBRARY FUNCTION LOCATION VARIABLE)
|
MACRO(CHECK_LIBRARY_EXISTS LIBRARY FUNCTION LOCATION VARIABLE)
|
||||||
IF("${VARIABLE}" MATCHES "^${VARIABLE}$")
|
IF("${VARIABLE}" MATCHES "^${VARIABLE}$")
|
||||||
SET(MACRO_CHECK_LIBRARY_EXISTS_DEFINITION
|
SET(MACRO_CHECK_LIBRARY_EXISTS_DEFINITION
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2002-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
MESSAGE(SEND_ERROR
|
MESSAGE(SEND_ERROR
|
||||||
"Modules/CheckSizeOf.cmake has been removed. "
|
"Modules/CheckSizeOf.cmake has been removed. "
|
||||||
"Use Modules/CheckTypeSize.cmake instead. This "
|
"Use Modules/CheckTypeSize.cmake instead. This "
|
||||||
|
|
|
@ -15,6 +15,18 @@
|
||||||
#
|
#
|
||||||
# Example: CHECK_STRUCT_HAS_MEMBER("struct timeval" tv_sec sys/select.h HAVE_TIMEVAL_TV_SEC)
|
# Example: CHECK_STRUCT_HAS_MEMBER("struct timeval" tv_sec sys/select.h HAVE_TIMEVAL_TV_SEC)
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2007-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
INCLUDE(CheckCSourceCompiles)
|
INCLUDE(CheckCSourceCompiles)
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,19 @@
|
||||||
# CMAKE_REQUIRED_INCLUDES = list of include directories
|
# CMAKE_REQUIRED_INCLUDES = list of include directories
|
||||||
# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
|
# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2003-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
MACRO(CHECK_SYMBOL_EXISTS SYMBOL FILES VARIABLE)
|
MACRO(CHECK_SYMBOL_EXISTS SYMBOL FILES VARIABLE)
|
||||||
IF("${VARIABLE}" MATCHES "^${VARIABLE}$")
|
IF("${VARIABLE}" MATCHES "^${VARIABLE}$")
|
||||||
SET(CMAKE_CONFIGURABLE_FILE_CONTENT "/* */\n")
|
SET(CMAKE_CONFIGURABLE_FILE_CONTENT "/* */\n")
|
||||||
|
|
|
@ -22,6 +22,19 @@
|
||||||
# These variables are referenced in CheckTypeSizeC.c so we have
|
# These variables are referenced in CheckTypeSizeC.c so we have
|
||||||
# to check for them.
|
# to check for them.
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2002-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
include(CheckIncludeFile)
|
include(CheckIncludeFile)
|
||||||
|
|
||||||
MACRO(CHECK_TYPE_SIZE TYPE VARIABLE)
|
MACRO(CHECK_TYPE_SIZE TYPE VARIABLE)
|
||||||
|
|
|
@ -13,6 +13,19 @@
|
||||||
# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
|
# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
|
||||||
# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
|
# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2002-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
MACRO(CHECK_VARIABLE_EXISTS VAR VARIABLE)
|
MACRO(CHECK_VARIABLE_EXISTS VAR VARIABLE)
|
||||||
IF("${VARIABLE}" MATCHES "^${VARIABLE}$")
|
IF("${VARIABLE}" MATCHES "^${VARIABLE}$")
|
||||||
SET(MACRO_CHECK_VARIABLE_DEFINITIONS
|
SET(MACRO_CHECK_VARIABLE_DEFINITIONS
|
||||||
|
|
|
@ -1 +1,14 @@
|
||||||
SET(CMAKE_C_VERBOSE_FLAG "-V")
|
SET(CMAKE_C_VERBOSE_FLAG "-V")
|
||||||
|
|
||||||
|
# -qthreaded = Ensures that all optimizations will be thread-safe
|
||||||
|
# -qalias=noansi = Turns off type-based aliasing completely (safer optimizer)
|
||||||
|
# -qhalt=e = Halt on error messages (rather than just severe errors)
|
||||||
|
SET(CMAKE_C_FLAGS_INIT "-qthreaded -qalias=noansi -qhalt=e")
|
||||||
|
|
||||||
|
SET(CMAKE_C_FLAGS_DEBUG_INIT "-g")
|
||||||
|
SET(CMAKE_C_FLAGS_RELEASE_INIT "-O -DNDEBUG")
|
||||||
|
SET(CMAKE_C_FLAGS_MINSIZEREL_INIT "-O -DNDEBUG")
|
||||||
|
SET(CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "-g")
|
||||||
|
|
||||||
|
SET(CMAKE_C_CREATE_PREPROCESSED_SOURCE "<CMAKE_C_COMPILER> <DEFINES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
|
||||||
|
SET(CMAKE_C_CREATE_ASSEMBLY_SOURCE "<CMAKE_C_COMPILER> <DEFINES> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>")
|
||||||
|
|
|
@ -1 +1,12 @@
|
||||||
SET(CMAKE_CXX_VERBOSE_FLAG "-V")
|
SET(CMAKE_CXX_VERBOSE_FLAG "-V")
|
||||||
|
|
||||||
|
SET(CMAKE_CXX_FLAGS_DEBUG_INIT "-g")
|
||||||
|
SET(CMAKE_CXX_FLAGS_RELEASE_INIT "-O -DNDEBUG")
|
||||||
|
SET(CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-O -DNDEBUG")
|
||||||
|
SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-g")
|
||||||
|
|
||||||
|
SET(CMAKE_CXX_COMPILE_OBJECT
|
||||||
|
"<CMAKE_CXX_COMPILER> -+ <DEFINES> <FLAGS> -o <OBJECT> -c <SOURCE>")
|
||||||
|
|
||||||
|
SET(CMAKE_CXX_CREATE_PREPROCESSED_SOURCE "<CMAKE_CXX_COMPILER> <DEFINES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
|
||||||
|
SET(CMAKE_CXX_CREATE_ASSEMBLY_SOURCE "<CMAKE_CXX_COMPILER> <DEFINES> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>")
|
||||||
|
|
|
@ -1,2 +1,7 @@
|
||||||
SET(CMAKE_Fortran_VERBOSE_FLAG "-V")
|
SET(CMAKE_Fortran_VERBOSE_FLAG "-V")
|
||||||
SET(CMAKE_Fortran_DEFINE_FLAG "-WF,-D")
|
SET(CMAKE_Fortran_DEFINE_FLAG "-WF,-D")
|
||||||
|
|
||||||
|
SET(CMAKE_Fortran_FLAGS_DEBUG_INIT "-g")
|
||||||
|
SET(CMAKE_Fortran_FLAGS_RELEASE_INIT "-O")
|
||||||
|
SET(CMAKE_Fortran_FLAGS_MINSIZEREL_INIT "-O")
|
||||||
|
SET(CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT "-g")
|
||||||
|
|
|
@ -18,6 +18,20 @@
|
||||||
# Section #3: Custom targets for performing dashboard builds.
|
# Section #3: Custom targets for performing dashboard builds.
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2001-2009 Kitware, Inc.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#=============================================================================
|
||||||
|
# (To distributed this file outside of CMake, substitute the full
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
OPTION(BUILD_TESTING "Build the testing tree." ON)
|
OPTION(BUILD_TESTING "Build the testing tree." ON)
|
||||||
|
|
||||||
IF(BUILD_TESTING)
|
IF(BUILD_TESTING)
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue